Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Bless and Do on the outsideby LanX (Saint) |
on Jun 18, 2014 at 00:25 UTC ( [id://1090228]=note: print w/replies, xml ) | Need Help?? |
> Yes, do on the outside always scans better, its like creating a sub and calling it immediately, (sub { ... })->(); except prettier :) To avoid misunderstandings: It's similar but not identical!
Like with map and grep is the block following do not an anonymous sub! Cheers Rolf (addicted to the Perl Programming Language)
In Section
Seekers of Perl Wisdom
|
|