- or download this
# snip code
- or download this
{
@_ = ( $obj, @args );
# rest of 'sub' goes here
}
- or download this
use strict;
use warnings;
...
$obj->{ print Dumper( \@_ ) }( 'hello' );
__END__
- or download this
$VAR1 = [];
Use of uninitialized value in subroutine entry at 605841.pl line 7.
Can't use string ("") as a subroutine ref while "strict refs" in use a
+t 605841.p
l line 7.