in reply to Perl Syntax Variation Between Linux/Windows when -e flag is used!

It's got nothing to do with perl.
It's the different quoting methods used by your shells (probably bash on Linux, and cmd.exe on Windows). If you put the code in a file, and did something like perl foo.pl test23.txt, it would work equally well on both OS's


davis
It's not easy to juggle a pregnant wife and a troubled child, but somehow I managed to fit in eight hours of TV a day.
  • Comment on Re: Perl Syntax Variation Between Linux/Windows when -e flag is used!