The argument to -F is a pattern, not a string. You could use parentheses in your pattern and take every other item in @F for munging and then put them back when you're done. Though for such a short pattern, you might as well just repeat it.
In reply to Re: Does Perl 5 (or 6?) need another built-in variable for the -F switch?
by duff
in thread Does Perl 5 (or 6?) need another built-in variable for the -F switch?
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |