Re: YN golf

"Philippe Bruhat (BooK)" <[email protected]> Tue, 1 Apr 2008 01:54:40 +0200
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>
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))