import some (modified) MS tests
[p5sagit/Function-Parameters.git] / t / foreign / Method-Signatures / lib / BarfyDie.pm
CommitLineData
633048d5 1# For use with t/error_interruption.t
2
3package BarfyDie;
4
5use strict;
6use warnings;
7
8use Function::Parameters qw(:strict);
9
10
11# This _should_ produce a simple error like the following:
12# Global symbol "$foo" requires explicit package name at t/lib/BarfyDie.pm line 13.
13$foo = 'hi!';
14
15
16method foo ($bar)
17{
18}
19
20
211;