Scroll to navigation

PIRL(1p) User Contributed Perl Documentation PIRL(1p)
 

NAME

pirl - A read-eval-print loop in Perl (see Shell::Perl)

SYNOPSIS

    pirl
    pirl --noornaments
    pirl --version
    pirl -v

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

DESCRIPTION

This script is the command-line interface to "Shell::Perl" which does it all.
By now, read the fine details at "Shell::Perl" documentation.

OPTIONS

    --ornaments - turn on terminal ornaments (default)
    --noornaments - turn off terminal organments
    --version, -v - prints version info and exits with 0

SEE ALSO

Shell::Perl

BUGS

Please report bugs via CPAN RT <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Shell-Perl>.

AUTHOR

Adriano R. Ferreira, <ferreira@cpan.org>
Caio Marcelo, <cmarcelo@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2007X2011 by Adriano R. Ferreira
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2014-02-02 perl v5.18.2