Is there any way to set my as the default scope for variables when no scope is specified?
No, not that I'm aware, though it might be possible to add that functionality (cpan://Method::Signatures).
Why isn't this the case now?
1) tradition and backwards compatibilty (perl goes back to 1987) 2) nobody's done the work ( even Method::Signatures is only since 2007 )
In reply to Re: my $scope as the default for variables
by Anonymous Monk
in thread Please help me print this hash.
by Je55eah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |