On Mon, Aug 16, 1999 at 01:05:02PM -0400, Rich Bowen wrote: > I've got a little code snippet that is irritating me, because there's > got to be a shorter way to do it, but I'm having a brain-block. I knew > that the folks on FWP could help. > > Is there a way to do the following two lines in one line? : > > $string1 .= $append; > $string2 .= $append; > > $string1 and $string2 are different strings, of course, which just > happen to be being appended with the same data right now. > $_ .= $append for ($string1, $string2); [Requires 5.005 or 5.004_05] Ronald ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe