Perl -e insert new line

Posted by lydonchandra on Super User See other posts from Super User or by lydonchandra
Published on 2010-03-25T04:12:48Z Indexed on 2010/03/25 4:13 UTC
Read the original article Hit count: 535

Filed under:
|
|

Hi

If I do this in bash

perl -e '$x; $y'

Is there any character that can behave like a new line?

i.e. I want to do

perl -e '$x; some_chars_as_new_line $y'

where perl interpreter actually sees an actual new line.

$x; 
$y;

Many thanks

© Super User or respective owner

Related posts about perl

Related posts about bash