pirl - A read-eval-print loop in Perl (see Shell::Perl)
$ 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
This script is the command-line interface to Shell::Perl which does it all.
Shell::Perl
By now, read the fine details at Shell::Perl documentation.
Please report bugs via CPAN RT http://rt.cpan.org/NoAuth/Bugs.html?Dist=Shell-Perl.
Adriano R. Ferreira, <ferreira@cpan.org>
Caio Marcelo, <cmarcelo@cpan.org>
Copyright (C) 2007 by Adriano R. Ferreira
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Shell::Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Shell::Perl
CPAN shell
perl -MCPAN -e shell install Shell::Perl
For more information on module installation, please visit the detailed CPAN module installation guide.