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

Re: Fun with open() on a string

Thread Previous | Thread Next
From:
Peter Scott
Date:
July 30, 2008 22:13
Subject:
Re: Fun with open() on a string
Message ID:
pan.2008.07.31.05.13.50.355240@PSDT.com
On Wed, 30 Jul 2008 22:03:21 -0400, Mark Mielke wrote:
> Peter Scott wrote:
>> Thereby leading to the fragile but gratifying (and inevitable)
>>
>> % perl -lan -0777 -E 'BEGIN{close STDIN; require CGI; } print
>> "@F[6158,12205,17280,16572],"'
>>   
> Version specific? :-)
> 
> $ perl -lan -0777 -E 'BEGIN{close STDIN; require CGI; } print 
> "@F[6158,12205,17280,16572],"'
> than pass be each,

Yes, that's what I meant by fragile.  Try the CGI.pm that comes with
5.10 (v 3.29).

-- 
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/


Thread Previous | 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