/usr/bin/pirl is in libshell-perl-perl 0.0022-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | #!/usr/bin/perl
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0; # not running under some shell
use 5.006;
use strict;
use warnings;
# /Id: pirl 1124 2007-01-25 19:36:07Z me / # don't erase that for now
# $Id: /iperl/bin/pirl 2321 2008-03-09T16:47:36.686169Z a.r.ferreira@gmail.com $
our $VERSION = '0.0019';
use Shell::Perl ();
Shell::Perl->run_with_args;
__END__
=head1 NAME
pirl - A read-eval-print loop in Perl (see Shell::Perl)
=head1 SYNOPSIS
pirl
pirl --noornaments
pirl --version
pirl -v
=head1 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
=head1 DESCRIPTION
This script is the command-line interface to C<Shell::Perl>
which does it all.
By now, read the fine details at C<Shell::Perl> documentation.
=head1 OPTIONS
--ornaments - turn on terminal ornaments (default)
--noornaments - turn off terminal organments
--version, -v - prints version info and exits with 0
=head1 SEE ALSO
Shell::Perl
=head1 BUGS
Please report bugs via CPAN RT L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Shell-Perl>.
=head1 AUTHOR
Adriano R. Ferreira, E<lt>ferreira@cpan.orgE<gt>
Caio Marcelo, E<lt>cmarcelo@cpan.orgE<gt>
=head1 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.
=cut
|