David L. Nicol wrote: > > perl -le'$_=aaaa;1while print,s/[^z]+/++($x=$&)/e' > > I do not understand the point behind having $\d and $& and so forth > treated like constants. OTOH, why does magical string increment need to be so special? Why shouldn't we be able to do $&+'1' ? (JARQ; it's because $&+'10' isn't -- and can't be -- well defined.) -- John Porter A pound of cure is worth a megaton of homeopathy. ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe