Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 37d3f190d28ba09140c23b8db40a1190

perl-Shell-Perl-0.2.200-2.mga3.src.rpm

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] }\n");
{ a => 1, b => [1, 2, 3] }

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

pirl @> :q

Generated packages:

Other version of this rpm: