- Perl Shell
Infobox Software
name = Perl Shell
latest_release_version = 1.8.1
latest_release_date = July 20, 2007
operating_system = Various
use =UNIX shell
license =GNU General Public License andArtistic License
website = [http://www.focusresearch.com/gregor/sw/psh/ Official site]The Perl Shell (psh) is a command line environment that can be used as the user's primary post-login shell on
Unix-like operating systems.Being itself written in
Perl , psh can also be used underMicrosoft Windows (with or withoutCygwin orInterix ) and other operating systems. Packages are available forLinux distribution s like Gentoo and Ubuntu, though on most systems it can be installed fromCPAN by simply issuing the following command:Features
Perl Shell combines aspects of
bash (and otherUnix shell s) with the power of Perl scripting.Code examples
ls | s/y/k/ # Substitution via PCRE. ls | { print ++$i, ": $_"; }q # Iterate over lines.
netstat | { $_ [1] >2; }g #Grep -ish.See also
*
BeanShell
*Interactive Ruby Shell
*Comparison of computer shells External links
* [http://www.focusresearch.com/gregor/sw/psh/ Official site]
*
* [http://search.cpan.org/~gregor/psh-1.8.1/doc/pshdevel.pod Related CPAN module]
* [http://www.focusresearch.com/gregor/document/psh-1.8.1.html Documentation for version 1.8.1]
Wikimedia Foundation. 2010.