Alistair.McGlinchy@marks-and-spencer.com writes: > Piers, > > > perl -le'map/^a*.z*$/&print,aaaa..zzzz > > I like removing the last "'" character. Bugger, that was a mistake. Should be: perl -le'map/^a*.z*$/&print,aaaa..zzzz' > But I think the 2nd "&" is still necessary. Otherwise you just get > aaaa..zzzz Have you tried it? It worked when I tested it. > Any advance on this though? > > perl -le'map/^a*.z*$/&&print,aaaa..zzzz That doesn't work. ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe