"be consistent" | |
PerlMonks |
Re: Updating variable in a loopby Paladin (Vicar) |
on Jun 07, 2016 at 21:54 UTC ( [id://1165115]=note: print w/replies, xml ) | Need Help?? |
You can use something like the following to construct one large string:
The $log .= "..." appends the string to $log each time through the loop so at the end, it's one large string.
In Section
Seekers of Perl Wisdom
|
|