or download this
#!/usr/bin/env perl -w
use feature ':5.10';
...
ok( ThatPackage::parse $foo, " this is a test" ); # fine, test doesn't
+ pass but runs fine
ok( ThatPackage::parse($bar), " this is a test" ); # also fine
ok( ThatPackage::parse $bar, " this is a test" ); # error here: 'Can't
+ call method "ThatPackage::parse" without a package or object referen
+ce at unit_test.pl line 43.'