No. Use warnings is a module, the -w flag is just some extra for error trapping (which sometimes really is useful!). But it's alright using both (along with strict, ofcourse). So -w is a built in 'function' and warnings.pm is just a module.

(BTW, using the -T flag for Taint Checking can also prove helpfull, especially with specializing security on your scripts and other error trapping with dangerous constructs in your Perl code.



--------------
Bob Erinkveld (Webmaster Insane Hosts)
www.insane-hosts.net
MSN: [EMAIL PROTECTED]





From: "Dylan Boudreau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: use warnings; and #!/usr/bin/perl -w
Date: Tue, 26 Nov 2002 09:57:44 -0400

Is
	use warnings;

the same as

	#!/usr/bin/perl -w

Dylan



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

_________________________________________________________________
MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl/worldwide.asp


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

Reply via email to