[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r8539 - trunk/tools/hook-scripts

From: Ben Reser <ben_at_reser.org>
Date: 2004-02-07 08:21:54 CET

On Thu, Jan 29, 2004 at 03:01:53PM -0600, blair@tigris.org wrote:
> +# The warning switch is set here and not in the shebang line above
> +# with /usr/bin/env because env will try to find the binary named
> +# 'perl -w', which won't work.
> +BEGIN
> + {
> + $^W = 1;
> + }

No this is evil.

You want:

use warnings

See my other email for the details $^W is just as bad as -w.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 7 08:22:06 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.