Your copy of warnings is broken and hers is working? Try to test it.The first line (@rem=...)is executed with warnings not turned on, warnings only get turned on when the compiler gets past the use warnings; statement. It seems that her installation has warnings turned on by default.
Also, you should contact perl5-porters about adding %~dpnx0 to pl2bat instead of just -S %0%0 is appropriate for .bat files, because that works on Windows 95 et al. Only Windows NT and descendants support the %~ syntax, but I am confident that my scripts won't need to run on Windows 95/98/Me.
In reply to Re^2: Perl Polyglot Problem
by PhilHibbs
in thread Perl Polyglot Problem
by PhilHibbs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |