in reply to my $scope as the default for variables
in thread Please help me print this hash.
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 )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: my $scope as the default for variables
by Corion (Patriarch) on Jun 19, 2012 at 08:20 UTC | |
by Anonymous Monk on Jun 19, 2012 at 08:36 UTC | |
by Corion (Patriarch) on Jun 19, 2012 at 08:56 UTC | |
by Anonymous Monk on Jun 19, 2012 at 09:12 UTC |