in reply to Re: Remove newline character from start of string
in thread Remove newline character from start of string
Or somewhat oddly,
Caution: Contents may have been coded under pressure.
chomp(substr($str, 0, length($/));
Caution: Contents may have been coded under pressure.
|
---|
In Section
Seekers of Perl Wisdom