http://www.perlmonks.org?node_id=1220367


in reply to Custom Arguements

Are you looking for a REPL? Perl has that:

Devel::REPL
Perl::Shell
Shell::Perl
perlconsole
psh

... and of course, mine:

App::PerlShell

UPDATE: Example:

VinsWorldcom@C:\Users\VinsWorldcom> plsh Perl> print $Bin; Use of uninitialized value $App::PerlShell::Bin in print at (eval 19) +line 2. Perl> use FindBin qw($Bin); Perl> print $Bin; C:/Users/VinsWorldcom/perl5/bin Perl>