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
|
|---|