pirl1p
A read-eval-print loop in perl (see shell::perl)
Usage
pirl
pirl --noornaments
pirl --version
pirl -v
pirl -I
dir
pirl -Idir1
-Idir2
Example session
$ pirlWelcome to the Perl shell. Type ':help' for more informationpirl @> 1+12pirl @> 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
Overview
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
-I dir - add the given directory to @INC--ornaments - turn on terminal ornaments (default)--noornaments - turn off terminal organments--version, -v - prints version info and exits with 0
Copyright and license
Copyright (C) 2007–2011 by Adriano R. Ferreira
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Releases
7 releases since Debian 7 (Wheezy); the text changed 3 times.