develooper Front page | perl.perl5.porters | Postings from July 2001

[ID 20010726.023] $a and $b in strict pragma

Thread Next
From:
Thomas Richardson
Date:
July 26, 2001 12:48
Subject:
[ID 20010726.023] $a and $b in strict pragma
Message ID:
Pine.OSF.4.33.0107261245230.287285-100000@lisbon1.stat.washington.edu

The following does not generate any warning of undeclared variables:

use strict;
$a = "foo\n";
$b = $a;


(


This is perl, version 5.005_02 built for sun4-solaris



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