in reply to Obscure variable suicide problem in autoloaded module
In $main::QtePostscript, $crlf is inserted at compile time. Your return is already assembled by the time the local line-end is seen.
One way to do this is to accumulate your return lines as an array @retary and:
join $crlf, @retary;Another approach would be to set $\ and:
print for @retary;A third is to s/\n/\r\n/g inside EmailQuote(), and forget about the local $crlf
After Compline,
Zaxo
Update, corrected an error regarding use of $retval.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Obscure variable suicide problem in autoloaded module
by HyperZonk (Friar) on Jul 13, 2001 at 00:28 UTC |