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

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

Thread Next
From:
Nathan Torkington
Date:
April 16, 2003 20:54
Subject:
[perl #21950] 5.8.x -- :scalar and magic strings
Message ID:
16023.61739.918911.219962@Nathan-Torkingtons-Computer.local.

[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.

Nat

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