in reply to Re: Perl as interactive Shell?
in thread Perl as interactive Shell?
I once spend time adding patching the debugger to Data::Dump of the evaled line and allowing multiline commands ( talk ... sorry slides are offline ATM)
> It only really implements cd and ls. So you can start the shell and type:
yep, OS independence is nice ... though I'm thinking about reusing Brian's powertools
> The eval which evaluates each line has strict and warnings switched off, so you can use things like barewords. Thus the following also works fine and feels slightly more shell-like:
> cd bin
two problems
i.e. one types
> cd /home/user
but display and history would automatically shows
> cd '/home/user'
(tab completion needs syntax awareness anyway and it'll be a service for people coming from sh)
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl as interactive Shell?
by perldigious (Priest) on May 17, 2017 at 13:18 UTC |