develooper Front page | perl.perl5.porters | Postings from April 2003

[perl #21950] 5.8.x -- :scalar and magic strings

Thread Next
Nathan Torkington
April 16, 2003 20:54
[perl #21950] 5.8.x -- :scalar and magic strings
Message ID:

[perlbug note - this message was caught in the spam filter because it
does not contain the special sequence of four magic letters - RS]

This coredumps:

 open $fh, "<", \$0;
 print <$fh>;         # coredump

Strangely, opening $/ in this fashion works but $! does not.  This is
tested on 5.8.0 and the 5.8.1 tree snapshot, on Mac OS X 10.2.4.


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