I've played a little bit with the debugger as a solution for a REPL (perl -MModule::Name -d -e1). Now I decided to use the Devel::REPL but I don't known how to add my subs to the context.
Lets suppose I've a file named test.pl and inside it a sub named 'print_hello'. How do I expose this in the REPL? The only solution is execute the re.pl and load my script through a --rcfile file.rc? Can someone give me simple examples?
In reply to Using Devel::REPL by guiwp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |