develooper Front page | perl.beginners | Postings from February 2002

Re: use strict

Thread Previous
From:
Jason Purdy
Date:
February 5, 2002 07:09
Subject:
Re: use strict
Message ID:
02020510091402.01316@jason.journalistic.com
*chuckle* - this should open a can of worms... be sure to check out the 
technical explanation:

perldoc strict

I believe there's also a thread on Perlmonks if you search on 'use strict and 
warnings' (for some reason, Perlmonks times out on me, so I can't provide the 
exact link/search term).

The bottom line is that 'use strict' and putting '-w' in your shebang line 
will ensure a higher quality for your Perl program and eliminate trivial (and 
possibly some moderate [= vs. ==]) bugs/problems without bugging (heh - pun 
intended) this list or co-workers.

Jason

If memory serves me right, on Tuesday 05 February 2002 12:18, Octavian 
Rasnita wrote:
> Hello all,
> I am a new member. please tell me what is used for the following line in a
> script:
>
> use strict;
>
> I saw that if I use it, this make sometimes my scripts to have errors and
> without it, they works.
> Thanks!
> Teddy,
> My dear email address is orasnita@yahoo.com
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About