# cat x use warnings; use strict ; for my $line (split /\\n/, shift) { print "$line\n" ; } for my $line (split /\n/, "x\ny\nz") { print "$line\n" ; } # perl x 'a\nb\nc' a b c x y z
In reply to Re: Split/Parameter Problem
by mifflin
in thread Split/Parameter Problem
by Ronnie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |