Subject: | perl -F (with slashes) |
Date: | Tue, 7 Jun 2011 10:24:07 -0700 |
To: | bug-Perl-Dist-Strawberry [...] rt.cpan.org |
From: | Tom Cruce <aaafarmclub [...] gmail.com> |
OK, try this:
echo "AAA:BBB:CCC" | perl -F: -ane 'print join("\n",@F)' # works
echo "AAA:BBB:CCC" | perl -F/:/ -ane 'print join("\n",@F)' # doesn't work
I thought you could put slashes around the delimeter...
TC
$ perl -v
This is perl 5, version 12, subversion 3 (v5.12.3) built for
MSWin32-x86-multi-t
hread
$ uname -a
MINGW32_NT-5.1 XXXXXXXXXX 1.0.12(0.46/3/2) 2010-02-05 01:08 i686 unknown