Insert a newline in a 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/25 11:13 UTC
Read the original article Hit count: 624

Filed under:
|
|

If I do this in bash

perl -e '$x; $y'

How can I insert a newline 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