Home  |  Linux  | Mysql  | PHP  | XML
From:BooK) Date:Mon Mar 31 17:54:40 2008
Subject:Re: YN golf
On Mon, Mar 31, 2008 at 04:34:58PM -0700, Rick Klement wrote:
> 
> perl -le 'print for glob"{Y,N}"x5'
> 

Of course you have to run this in a directory that doesn't contain
any file matching /^[YN]{5}$/.

-- 
 Philippe Bruhat (BooK)

 The learned man makes a mistake but once... but the truly stupid keep
 practicing until they get it right.
                                    (Moral from Groo The Wanderer #75 (Epic))
Navigate in group perl.fwp at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants