P is for Practical | |
PerlMonks |
Re^2: Canon concerning coderef calls?by jobi (Scribe) |
on Nov 15, 2004 at 20:00 UTC ( [id://407937]=note: print w/replies, xml ) | Need Help?? |
This works beautifully, but this novice is at a loss to understand why. Is not $:: an indicator that the sub is in the main package? So that $::{$_} is the subroutine $_ in the main package? And then that is called with the arguments $_? Why does this allow us to do the referencing/dereferencing in one step, is this novice missing something here?
In Section
Seekers of Perl Wisdom
|
|