|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^4: SDLx handlers and Mooseby Ransom (Beadle) |
| on May 25, 2012 at 14:16 UTC ( #972437=note: print w/ replies, xml ) | Need Help?? |
|
Because of... everything? Awesome, I'll just read the two tutorials about lexical scoping and clusures and... wait? What? No idea what I'm supposed to be learning here. In the hopes to have learned something from reading, the methods I created are outside of the closures of my main file? I'm having trouble relating how these tutorials affect A. My having to use the sub keyword... it IS a sub already and B. Why I must pass @_ to the sub when it was implicit before in this example:
I'm fully aware that I may just be missing some major points on closures and lexical scoping, but after reading I'm just more confused as to what's going on rather than anything becoming clearer Ransom
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||