develooper Front page | perl.golf | Postings from June 2009

Re: Another one-liner?

Thread Previous | Thread Next
From:
Phil Carmody
Date:
June 24, 2009 15:14
Subject:
Re: Another one-liner?
Message ID:
412069.28417.qm@web25405.mail.ukl.yahoo.com

--- On Wed, 6/24/09, yanick@babyl.dyndns.org <yanick@babyl.dyndns.org> wrote:
> +0100, Jasper wrote:
> > 2009/6/24 Daniel Tiefnig <dantie@gmx.at>:
> > >
> > > ?perl -00 -ne'/.{65535}/||print'
> > >
> > 
> > of course becomes
> > 
> > perl -00 -pe'$_ x=!/.{65535}/'
> 
>     I'm probably overlooking something
> silly, but
> 
>     perl -O0 -pe's/.{65535,}//'  
>     
>     ?

I love you guys, I really do. I'll never be a golfer, but I'll always be a very happy spectator!

Phil




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