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:
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
It doesn't complain about $h being uninitialised. It does however, if you take out the HTTP header.#!/usr/bin/perl -w print "Content-Type: text/html\n\n"; $t = "hello world"; print "$h, $t";
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: (tye)Re: use warnings vs. perl -w
by extremely (Priest) on Jan 25, 2001 at 08:53 UTC | |
by Theseus (Pilgrim) on Jul 17, 2002 at 16:05 UTC | |
(tye)Re2: use warnings vs. perl -w
by tye (Sage) on Jan 24, 2001 at 21:06 UTC | |
Re^3: use warnings vs. perl -w
by Anonymous Monk on Oct 29, 2012 at 12:05 UTC |
In Section
Seekers of Perl Wisdom