CARVIEW |
Select Language
HTTP/2 200
cache-control: max-age=43200
server: Combust/Plack (Perl)
vary: Accept-Encoding
content-encoding: gzip
content-length: 1455
content-type: text/html; charset=utf-8
last-modified: Sat, 11 Oct 2025 12:04:33 GMT
date: Sat, 11 Oct 2025 12:04:33 GMT
strict-transport-security: max-age=15768000
Fun with open() on a string - nntp.perl.org
Front page | perl.perl5.porters |
Postings from July 2008
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About

Fun with open() on a string
Thread NextFrom:
Peter ScottDate:
July 29, 2008 03:10Subject:
Fun with open() on a stringMessage ID:
pan.2008.07.29.10.10.32.609047@PSDT.comThis very nearly qualifies as an easter egg. Inspect the following: perl -e 'close STDIN; open STDIN, "<", \$x; print <>' Guess what it does. Run it. See if you were right. Bugworthy? I don't know; maybe, that's why I mention it here. But it had some entertainment value for me today. -- Peter Scott https://www.perlmedic.com/ https://www.perldebugged.com/Thread Next
- Fun with open() on a string by Peter Scott
- Re: Fun with open() on a string by Mark Mielke
- Re: Fun with open() on a string by Graham Barr
- Re: Fun with open() on a string by Mark Mielke
- Re: Fun with open() on a string by H.Merijn Brand
- Re: Fun with open() on a string by Eric Brine
- Re: Fun with open() on a string by Graham Barr
- Re: Fun with open() on a string by H.Merijn Brand
- Re: Fun with open() on a string by H.Merijn Brand
- Re: Fun with open() on a string by Peter Scott
- Re: Fun with open() on a string by Mark Mielke
- Re: Fun with open() on a string by Peter Scott
- Re: Fun with open() on a string by Aristotle Pagaltzis
- Re: Fun with open() on a string by Peter Scott
- Re: Fun with open() on a string by Bram
- Re: Fun with open() on a string by Peter Scott
- Re: Fun with open() on a string by H.Merijn Brand
- Re: Fun with open() on a string by Johan Vromans
- Re: Fun with open() on a string by Aristotle Pagaltzis
- Re: Fun with open() on a string by Bram
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About