PERLCONSOLE(1p)
π NAME π
okay bestie, so this is perlconsole β a lil light program that lets you evaluate Perl code interactively β¨ it's giving "REPL but make it cute", and honestly? iconic.
this is the manual page for PERLCONSOLE(1p), and yes, section 1p means it's a Perl thing, iykyk π«Ά
π COPYRIGHT π
Perl Console is Copyright (C) 2007 by Alexis Sukrieh β periodt, that's the whole thing, credit where credit is due π
πΈ DESCRIPTION πΈ
okay so real talk: Perl Console is a small program that implements a Read-eval-print loop β it lets you evaluate Perl code interactively π
It uses Readline to grab input, and it provides completion with all the namespaces loaded during your session. so the way that it just knows what you've loaded?? obsessed π
It also lets you load a module in your session and test a function exported by it. load a module, poke at a function, vibe check it, done π
π COMMANDS π
It's possible to interact with the console with internal commands, bestie. The following commands are supported in this version:
:helpβ display the interactive help screen:quitβ quit the console:setβ set a preference (see PREFERENCES).
π¦ RCFILE π¦
PerlConsole will look for a rcfile located in your home directory called: ~/.perlconsolerc π
Every line in that file will be evaluated as if they were issued in the console. so you can then load there your favorite modules, or even define your preferences. set it and forget it, no cap β¨
Example of a valid ~/.perlconsolerc:
:set output = dumper
use Date::Calc;
π PREFERENCES π
Preferences can be set with the :set command. The following preferences are supported in this version:
outputβ changes the output of evaluated code
For details about commands, type :help <command> within the console. yes, literally inside the console, she'll tell you everything π«Ά
π AUTHOR π
Perl Console was writen by Alexis Sukrieh <sukria@sukria.net>. π
and that's the whole page, bestie!! this doc ships with perl v5.32.0, dated 2021-01-03, and it lives in the User Contributed Perl Documentation collection. mwah, go evaluate some code, you're gonna slay πβ¨π₯
π¦ where this page comes from
- debian bookworm: perlconsole 0.4-4.1
- debian trixie: perlconsole 0.4-4.1
- ubuntu jammy: perlconsole 0.4-4.1
- ubuntu noble: perlconsole 0.4-4.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms