in reply to Re: Perl Polyglot Problem
in thread Perl Polyglot Problem
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl Polyglot Problem
by PodMaster (Abbot) on Mar 09, 2005 at 17:47 UTC | |
by PhilHibbs (Hermit) on Mar 09, 2005 at 18:16 UTC |