Package : perl-Shell-Perl

Package details

Summary: Dumpers for Shell::Perl

Description:
This is the implementation of a command-line interpreter for Perl. I wrote
this because I was tired of using B<irb> when needing a calculator with a
real language within. Ah, that and because it was damn easy to write it.

This module is the heart of the B<pirl> script provided with B<Shell-Perl>
distribution, along with this module.

EXAMPLE SESSION
$ pirl
Welcome to the Perl shell. Type ':help' for more information


pirl @> 1+1
2

pirl @> use YAML qw(Load Dump);
()

pirl @> $data = Load("--- { a: 1, b: [ 1, 2, 3] }
");
{ a => 1, b => [1, 2, 3] }

pirl @> $var = 'a 1 2 3'; $var =~ /(\w+) (\d+) (\d+)/
("a", 1, 2)

pirl @> :q


URL: http://search.cpan.org/dist/Shell-Perl
License: GPL+ or Artistic

Maintainer: nobody

List of RPMs