Vizible’s Blog

Perl-Shell – A Python style command line interpreter for Perl

Posted in Tips by wearetherock on July 29, 2009

Install
– On Windows, use perl package manager (come with ActivePerl)

Example
C:\Users\BEER>perlthon
>>> print “Hello world”;
Hello world

Reference http://search.cpan.org/~adamk/Perl-Shell-0.01/lib/Perl/Shell.pm

Advertisements

3 Responses

Subscribe to comments with RSS.

  1. wearetherock said, on July 29, 2009 at 1:47 pm

    Just one line will sent to interpret !!!
    >>> my $a = 10;
    >>> print $a;
    ERROR: Global symbol “$a” requires explicit package name at (eval 29) line 1.
    >>>

  2. wearetherock said, on July 29, 2009 at 3:01 pm

    This shell we can use combination key to control cursor position like Emacs,
    such as Ctrl+A , Ctrl+E, Ctrl+N, Ctrl+P and whatever.

  3. Alexandr Ciornii said, on July 29, 2009 at 9:38 pm

    AFAIK, Devel::REPL is better.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: