[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

RE: [FWP] Quine, ontology, and Perl





> -----Original Message-----
> From: webuser@ns.zfx.com [mailto:webuser@ns.zfx.com]On Behalf Of Steve
> Lane
> Sent: Tuesday, May 09, 2000 4:05 PM
> To: Ala Qumsieh
> Cc: Gaal Yahas; fwp@technofile.org; 
> israel-pm-list@happyfunball.pm.org;
> hackers-il@egroups.com
> Subject: Re: [FWP] Quine, ontology, and Perl
> 
> 
> Ala Qumsieh wrote:
> > > perl -le
> > >    '@Just_another_Perl_hacker=map{/^[^*].*hack/&&s,_,
> > ,g&s,$,\,,&print}%::'
> > 
> > The obvious improvements:
> > 
> > perl 
> -le'@Just_another_Perl_hacker=map{/^[^*].*P/&&y,_,,&s/$/,/&print}%::'
> 
> -6:
> 
>   perl -le'@Just_another_Perl_hacker=map{y/_*/ /==3&&s/$/,/&print}%::'

why the trouble?

    perl -le'@Just_another_Perl_hacker=map{y/_*/ /==3&&print"$_,"}%::'

-2

;-)

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe