Lingua::Pangram

Wesley Darlington wesley at yelsew.com
Wed Jan 23 10:29:00 CST 2002


On Wed, Jan 23, 2002 at 03:56:53PM +0000, Andrew Wilson wrote:
> On Wed, Jan 23, 2002 at 03:43:49PM +0000, Wesley Darlington wrote:
> > perl -pe'for$i(a..z){/$i/ or$_=""}'
> 
> that doesn't match stuff with upper case letters.  But damn impressive
> none the less.

Oops.

> perl -pe'for$i(a..z){/$i/i or$_=""}'

Also (same length),

perl -pe'for$i(a..z){$_=""if!/$i/i}'

Wesley.



More information about the Belfast-pm mailing list