Hi,

I've tried the following script and it works fine:

use strict;
my $text = 1;
my $text = 2;
print $text;

Shouldn't perl disallow defining the $text variable a second time in the same 
script if using "use strict"?

Thank you.

Octavian


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to