On Thu, 31 Jul 2008 07:11:21 +0200, Bram wrote: > Citeren Peter Scott <Peter@PSDT.com>: > >> On Thu, 31 Jul 2008 06:40:52 +0200, Aristotle Pagaltzis wrote: >>> $ perl -lan -0777 -e 'BEGIN{close STDIN; require CGI; } print >>> "@F[6158,12205,17280,16572],"' >>> you passed sub protections, >> >> That's not what I posted. You have -e instead of -E. Size matters :-) > > perl-5.10.0 -lan -0777 -E 'BEGIN{close STDIN; require CGI; } print > "@F[6158,12205,17280,16572],"' > Just another Perl hacker, > > perl-5.10.0 -lan -0777 -e 'BEGIN{close STDIN; require CGI; } print > "@F[6158,12205,17280,16572],"' > Just another Perl hacker, > > perl-5.10.0 -MCGI -wle 'print $CGI::VERSION;' > 3.29 Sigh. Yes. The -E was my cute way of saying require 5.010, which makes it more likely that CGI will be version 3.29, which is in the 5.10 core. Aristotle's version of CGI is 3.15, which is core for 5.8.8. -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/Thread Previous | Thread Next