Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: truncating a lineby tilly (Archbishop) |
on Jul 01, 2003 at 16:18 UTC ( [id://270524]=note: print w/replies, xml ) | Need Help?? |
Removing an if is only worthwhile if you still have a correct solution. Yours does not add the requested "..." when it is needed. (And like the other RE solution will also mess up if there is a newline in there.)
In Section
Seekers of Perl Wisdom
|
|