|
|
| Just another Perl shrine | |
| PerlMonks |
Re: list slice (fewer)by tye (Cardinal) |
| on Jul 21, 2006 at 22:35 UTC ( #562968=note: print w/ replies, xml ) | Need Help?? |
|
There is also a way to make it work without quite so many parens:
There are several cases where the more traditional func( args... ) can be "improved" to ( func args... ). But it won't work if func() isn't known to Perl at the time that this code is compiled. Update: Have I mentioned recently that I hate the "looks like a function call" rule. Not allowing func (...) was a good feature that should've stayed and will be restored with Perl6. (: - tye
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||