insert newline in perl -e statement

Posted by lydonchandra on Super User See other posts from Super User or by lydonchandra
Published on 2010-03-24T08:50:57Z Indexed on 2010/03/24 8:53 UTC
Read the original article Hit count: 470

Filed under:
|
|

Hi

If I do this in bash

perl -e '$x; $y'

How can I insert a new line between the character ; and $y? I don't want to re-type the whole line, I just want to move my cursor to the position and then insert a newline ?

Is this possible?

Many thanks

© Super User or respective owner

Related posts about perl

Related posts about bash