use strict, warnings in the filter code
[p5sagit/lib-with-preamble.git] / t / lib / my_given_example.pm
CommitLineData
dcd0209b 1package my_given_example;
2
3sub example_sub {
4 given ($_[0]) {
5 when ($_ > 0) { return 'positive' }
6 when ($_ < 0) { return 'negative' }
7 return 'zero'
8 }
9}
10
11sub my_file { __FILE__ }
12sub my_line { __LINE__ }
13
141;