develooper Front page | perl.perl5.porters | Postings from December 2000

[ID 19991114.001] dangerous behavior from local

From:
Stephen P. Potter
Date:
December 13, 2000 08:33
Subject:
[ID 19991114.001] dangerous behavior from local
Message ID:
200012131635.LAA05398@spotter.yi.org
This bug appears to still be active.  There is some discussion as to
whether it is a bug or not.

A coworker accidentally did:

 {
     local($/ = undef);
     ...
 }

 This did not localize $/ .  I don't know what it did do.  There was no
 warning.  Could I get a warning out of it?

-spp




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