Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Could I get some feedback on my code please?by f00li5h (Chaplain) |
on Jan 13, 2007 at 12:52 UTC ( [id://594532]=note: print w/replies, xml ) | Need Help?? |
Calling a sub with &sub will do many things, but most interstingly, it will not set @_ inside the sub, so you will inherit the @_ from the outer context, the & also means that prototypes are ignored for that call. If you're not sure what those are, it's safer to not tamper with them, and just call subs with sub(). Somewhere it says in Learning Perl, "you don't tell someone to 'do wash the dishes' when you can just say 'wash the dishes'" this is a terrible paraphrase, but i think i left the book at work ...
@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;
In Section
Seekers of Perl Wisdom
|
|