PIRL(1p)
π pirl(1p) β the Perl REPL bestie π
okay so, hi. welcome to pirl, a read-eval-print loop in Perl (peep Shell::Perl for the whole lore). it's a manual page, but make it a group chat. let's go π«Ά
β¨ SYNOPSIS β¨
like, here's the entire vibe in one look:
pirl
pirl --noornaments
pirl --version
pirl -v
pirl -I dir
pirl -Idir1 -Idir2
that's it. that's the whole summoning ritual π
πΈ EXAMPLE SESSION πΈ
not me showing you a whole real conversation with the shell, because honestly, watching it work >>>>> reading about it:
$ 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
see how she justβ¦ answers you? the math? slayed. the module loading? ate. the regex capture list? iconic. the :q at the end? bye bestie, exit clean π
π¦ DESCRIPTION π¦
so, this script? it's the command-line interface to Shell::Perl, and Shell::Perl is the one doing literally all the heavy lifting. pirl is the pretty face, Shell::Perl is the main character energy behind it. π
for the fine details β and bestie, there ARE fine details β go read the "Shell::Perl" documentation. it's giving "the real manual is over there". go, shoo, it's worth it π
π OPTIONS π
one bullet per flag, no skipping, no summarising, we're thorough in this house:
-I dirβ add the given directory to@INC. that's how you tell Perl where to find your modules, periodt.--ornamentsβ turn on terminal ornaments. this is the default, so it's the vibe you get for free β¨--noornamentsβ turn off terminal ornaments. minimalism era, we respect it.--version,-vβ prints version info and exits with0. it says hi, tells you what it is, and dips. no cap. π
π SEE ALSO π
see Shell::Perl for more documentation. like, actually go look. that's where the good stuff lives. iykyk πΈ
π 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.
free software!! free as in do-what-you-want-within-the-Perl-terms. we love a generous license π«Ά
and that's a wrap, bestie. this page came to you from perl v5.34.0, dated 2022-06-17, and it's filed under PIRL(1p) β go forth and 1+1 in your terminal. slay, exit with 0, hydrate π
π
π¦ where this page comes from
- debian bookworm: libshell-perl-perl 0.0026-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libshell-perl-perl 0.0026-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libshell-perl-perl 0.0026-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libshell-perl-perl 0.0026-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libshell-perl-perl 0.0026-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms