Perl REPL bug/error/question

Asked by Edward Greathouse

Hi,

I installed re.pl from libdevel-repl-perl.

I needed to test a small function used in a large program written by someone else. So I copied the function and pasted it into re. pl. Upon pressing enter, I expected the next line to be
`$_`
waiting for my input. However, I actually saw
`>_`
instead. From here on out, the output console was non existent and I had to close the program with CTRL+C.

When I open the program back up, everything is back to normal and I can continue testing what I need to test.

I would like to know what the `>_` means and how to get out of it without exiting re.pl.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu libdevel-repl-perl Edit question
Assignee:
No assignee Edit question
Solved by:
Edward Greathouse
Solved:
Last query:
Last reply:
Revision history for this message
Edward Greathouse (greathousee) said :
#1

Sorry, I am new to re.pl and discovered that it must've been continuing the function definition because the copy and paste brought over new lines that confused the application. No more problems here.