Of course the next step up from the Perl one-liner is the Perl obfuscation. Possibly one of the most famous of these is the Camel Code:
http://www.perlmonks.org/?node_id=45213 And then there are the JAPH's (the Camel Code is actually a JAPH): http://www.cpan.org/misc/japh Perl is truly awesome.... or truly horrendous, depending on your viewpoint Darren :) 2009/2/26 Gaurav Vaidya <[email protected]> > Good afternoon, > > 2009/2/26 Ang Chin Han <[email protected]>: > > On Thu, Feb 26, 2009 at 9:10 AM, Soh Kam Yung <[email protected]> > wrote: > >> [http://www.catonmat.net/blog/perl-one-liners-explained-part-one/] > > > > Um, "famous"? Just some space mangling. > Heh. Yeah, I wondered about that. When I think about "famous code", > I'm thinking of stuff like this: > http://www.beyond3d.com/content/articles/8/ > > It's not just space mangling, though - it's only part one of five. I'm > sure there's lots of other goodies to come. For my money, Perl one > liners *really* come into their own with the fantastic collection of > modules from the CPAN. Such as: > $ perl -M5.010 -MFile::Find -e 'find(sub {say if /\.txt$/} , ".")' > which is quite handy on Windows (or anywhere you don't have find (1) > present). > > > There should be much better ones. > > http://sial.org/howto/perl/one-liner/ > > http://www.math.harvard.edu/computing/perl/oneliners.txt > > http://www.ajs.com/ajswiki/Perl_one-liners > I'd like to add http://twitter.com/perloneliner to that list - even if > you aren't on Twitter, you can subscribe to the RSS feed and get a > pretty cool one liner every day. > > cheers, > Gaurav > > -- > Singapore Perl Mongers, now at http://singapore.pm.org/ > Join our mailing list now! > http://mail.pm.org/mailman/listinfo/singapore-pm > > _______________________________________________ > Slugnet mailing list > [email protected] > http://wiki.lugs.org.sg/LugsMailingListFaq > http://www.lugs.org.sg/mailman/listinfo/slugnet >
_______________________________________________ Slugnet mailing list [email protected] http://wiki.lugs.org.sg/LugsMailingListFaq http://www.lugs.org.sg/mailman/listinfo/slugnet
