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

Re: use strict

Thread Previous
Jason Purdy
February 5, 2002 07:09
Re: use strict
Message ID:
*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.


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
> _________________________________________________________
> Do You Yahoo!?
> Get your free address at

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About