Just checking (was Re: [TriLUG] job openings)

Jeremy Portzer jeremyp at pobox.com
Wed Oct 2 12:54:22 EDT 2002


On Wed, 2002-10-02 at 10:57, James Manning wrote:
> > [Jeremy Portzer]
> > cat message | perl -e 'undef $/; print scalar reverse <>;'
> 
> perl -e 'undef $/; print scalar reverse <>;' message
> 
> shorter, half the process count, and a chance to show off <>'s sk1llz

True, thanks.  Although "cat" isn't exactly a resource-intensive
process. :-)

To Mike M.:  I don't think this is really obfuscated.  It's just a
demonstration of built-in niceties that perl has for text manipulation.

--Jeremy




More information about the TriLUG mailing list