in reply to How to make a variable in a single line
UPDATE: typo corrected.$your_variable_containing_newlines =~ tr/\n\r//d;
--
Ronald Fischer <ynnor@mm.st>
Ronald Fischer <ynnor@mm.st>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to make a variable in a single line
by Anonymous Monk on Jun 05, 2013 at 13:11 UTC | |
by rovf (Priest) on Jun 05, 2013 at 15:36 UTC |
In Section
Seekers of Perl Wisdom