Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: acronym for perl shell?

by ferrency (Deacon)
on Aug 06, 2002 at 14:46 UTC ( #188044=note: print w/replies, xml ) Need Help??


in reply to acronym for perl shell?

There already is a Perl Shell, called Psh, available on CPAN. It's still pre-release. It mostly works, but has some bugs.

Alan

Replies are listed 'Best First'.
Re: Re: acronym for perl shell?
by Hanamaki (Chaplain) on Aug 07, 2002 at 10:29 UTC
    An article about Psh by Gregor N. Purdy you will find in issue 18 (Summer 2000) of The Perl Journal.
    In this article the author describes his shell and also compares it to eight other Perl shells like Larry Walls " while (<>) { eval; print $@; } "simple shell, the perl debugger, timtosh etc.pp.
    Probably a good first read about Perl shells.

    Hanamaki

      Just to add to the article info about PSH.pm:

      • Line editing: PSH.pm does not support command line editing per se. I'm using WinNT/Win2k and the Command Prompt window provides all command line editing and history features I need. If anyone likes PSH.pm and wants to extend it to optionaly use Term::ReadLine or something, I'm ready to help.
      • Job Control: Since I'm using (and expecting others to use) PSH.pm usualy for debuging and testing things, then as a real shell I did not consider things like that. Besides ... you have the full power of Perl at your fingertips, you may do whatever you like.
      • Piping: Any line starting with ! is passed to the default shell for processing. With only one speciality, if the line ends with a > then the output of the command will not be printed but stored in variable $it. Therefore if the default shell supports pipes ...

      PSH.pm was never expected to be a real shell. It was more influenced by the interactive development interfaces of Prolog or ML.

      Jenda

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://188044]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2019-11-15 02:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (80 votes). Check out past polls.

    Notices?