in reply to #!/usr/bin/perl -w

perlrun gives some more information about how the #! line is processed. perl checks this line for switches whenever it runs, so under any OS, a shebang line that says
#!/foo/bar/baz/perl -w
should turn warnings on.

-- Mike

--
just,my${.02}