Ronald, Ronald wrote: > on Thu, Apr 27, 2000 at 11:18:42AM -0400, Steve Lane wrote: >> Piers Cawley wrote: >> > > Any advance on this though? > >> > > >> > perl -le'map/^a*.z*$/&&print,aaaa..zzzz > >> > >> That doesn't work. > What shell are you running that in, that doesn't complain about an > unmatched '? Whoops my clever ploy at pretending to be a hard core Unix hacker have fallen apart. I've been sprung for the Windows NT user I am. I admit it my code, my OS and my life are a sham. Here's the pesky truth of how my OS plus Activestate 5.005_03 build 520 deals with our current one-liner. D:\>perl -le'map/^a*.z*$/&&print,aaaa..zzzz' Can't find string terminator "'" anywhere before EOF at -e line 1. D:\>perl -le'map/^a*.z*$/&&print,aaaa..zzzz Can't find string terminator "'" anywhere before EOF at -e line 1. D:\>perl -le"map/^a*.z*$/&&print,aaaa..zzzz aaaa aaab <snip> Does this mean that when playing Perl golf, NT gets a one stroke advantage by not needing the final " character :-) Alistair __________________________________________________________________________________________ Registered Office: Marks and Spencer plc Michael House, Baker Street, London, W1A 1DN Registered No. 214436 in England and Wales. Telephone (020) 7935 4422 Facsimile (020) 7487 2670 www.marks-and-spencer.com This e-mail is Confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful. ___________________________________________________________________________________________ ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe