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

Re: use strict

Thread Previous | Thread Next
From:
dhoubrechts
Date:
February 5, 2002 12:43
Subject:
Re: use strict
Message ID:
3C6043C1.E242B7CE@cybernet.be
Octavian Rasnita a écrit :
> 
> 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
> 
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
because when you use "use strict" you have to declare all your variables
:
#!/usr/bin/perl -w

use strict;
my $local_variable;
$local_variable= "something";

Thread Previous | Thread Next


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