in reply to Re^2: Perl : Split/Regex
in thread Perl : Split/Regex
The push reads better without the obfuscating ref/deref stuff:
push (($flds[-1] eq 'Y' ? @streams : @spaces), $flds[0]);
Update: Ok, so that was a fail - struck
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl : Split/Regex
by AnomalousMonk (Archbishop) on Sep 04, 2014 at 00:57 UTC | |
by GrandFather (Saint) on Sep 04, 2014 at 01:48 UTC | |
by AnomalousMonk (Archbishop) on Sep 04, 2014 at 02:22 UTC |