|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^3: Odd workings of splitby Jenda (Monsignor) |
| on Mar 31, 2012 at 07:16 UTC ( #962728=note: print w/ replies, xml ) | Need Help?? |
|
The important thing is that the () is abound the whole subroutine call, not just around the parameters. split("\n", $cmd[$_])[0] would not work. Jenda
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||