Rob Anderson wrote:
> Dan,
>
> One thing that springs to mind is that if you're using Windows, you
> can't specify -w on a she-bang (well you can, but windows aint gonna
> do anything with it). Using warnings.pm would force this in the
> script, rather than relying on you webserver, whatever's calling you
> scripts.

Perl itself reads the shebang line in a script that you offer it, looking
for switches. This will work under Windows:

    #!perl -w
    print $^W;

output

    1

Cheers,

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to