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
Enoch was right!
Enjoy the last years of Rome.
In reply to Re^3: Odd workings of split
by Jenda
in thread Odd workings of split
by Ralesk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |