Andy Lester writes: >> print$_="Happy birthday to you,\n"x2;s/,$/./;s/to.*/dear perl5,/;print > No, 'cause it eats the \n. But thanks to the idea from Steve Lane I've trimmed it down to 68 characters: $_="Happy birthday to you,\n"x4;s/to.*(,\n.*),$/dear perl5$1./;print -Mark ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe