it interprets that as:args($1)
I think it's rather seeing it as args $1 (indirect method call, like in args SomePkgOrObj).
With args($1), it should complain Undefined subroutine &main::args called at...
</nitpick>
In reply to Re^2: Can't call method "args" without a package or object reference
by almut
in thread Can't call method "args" without a package or object reference
by himanshu.padmanabhi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |