guiwp has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Devel::REPL
by robby_dobby (Hermit) on Jun 20, 2016 at 01:27 UTC | |
by guiwp (Sexton) on Jun 20, 2016 at 13:49 UTC | |
by guiwp (Sexton) on Jun 23, 2016 at 03:14 UTC | |
by guiwp (Sexton) on Jun 27, 2016 at 14:05 UTC | |
by robby_dobby (Hermit) on Jun 28, 2016 at 02:34 UTC | |
by choroba (Cardinal) on Jun 23, 2016 at 07:34 UTC | |
by guiwp (Sexton) on Jun 23, 2016 at 12:16 UTC | |
by robby_dobby (Hermit) on Jun 27, 2016 at 08:19 UTC | |
|