On Mon, Nov 06, 2006 at 04:05:16PM -0500, Andrew McNabb wrote:
>
> Recent perl will let you do:
>
> print ('match' if value else 'not a match')
>
> but that's still way uglier than using if/else statements. What's so
> great about cramming everything on one line?
>
s/perl/Python/
--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/