in reply to (tye)Re: use warnings vs. perl -w
in thread use warnings vs. perl -w

You're right, it does work, but I just tried this:
#!/usr/bin/perl -w print "Content-Type: text/html\n\n"; $t = "hello world"; print "$h, $t";
It doesn't complain about $h being uninitialised. It does however, if you take out the HTTP header.

Update: I was running this on a Win32 webserver.

Is that the way it should be?

$code or die
Using perl at
The Spiders Web