App::REPL(3pm)
π App::REPL π
okay so bestie, this is App::REPL β a container for functions for the iperl program. that's the whole vibe. it's a little grab-bag of helpers, nothing more, nothing less. π
β¨ VERSION β¨
Version 0.01. yes it's baby. it's a lil guy. πΌ
πΈ SYNOPSIS πΈ
This module contains functions that the iperl program automatically imports into any package it enters, for interactive convenience.
Please see the README for general information.
that's it, that's the synopsis. go read the README if you want the lore. π
π EXPORT π
(okay so this section is literally just sitting here with nothing under it β the actual goods are in FUNCTIONS right below, keep scrolling bestie π«Ά)
π FUNCTIONS π
π
x
Print arguments with Data::Dumper::Dumper.
π p
Print arguments with print.
π¦ env
Return a hashref containing the (stored -- not current) lexical environment.
read that twice. it's the stored one, not the current one. they are not the same thing and i need you to know that. π
β ret
Return a reference to the value of the previous evaluation β that is, a reference to whatever irepl printed after the last Perl you evaluated.
This function will probably evolve to take an argument $n, to return the $n'th previous result.
"probably"! that's a maybe, not a promise, don't come for me. π
π§ rdebug ($value)
With no arguments, bump $REPL::DEBUG. With an argument, set $REPL::DEBUG to that.
This is for debugging iperl itself; currently at 1 it shows eval'd code, and at 2 it dumps the PPI document corresponding to entered code.
π₯ help (commands)
With no arguments, print a brief message.
With an argument, either print corresponding help or -- in the case of 'commands', currently the only optional argument -- call perldoc appropriately.
so commands is the one and only optional argument rn. it's giving exclusive. π
π AUTHOR π
Julian Fondren, "<ayrnieu@cpan.org>"
π BUGS π
- Does not reliably report errors in eval'd code.
- Does not try hard enough to collect a return value from eval'd code.
- Makes probably dangerous use of PPI.
"probably dangerous" is a direct quote and i am not softening it for you. be aware. β οΈ
Please report any bugs or feature requests to "bug-app-repl@rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-REPL>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
π VERSION CONTROL π
A subversion repository with anonymous checkout exists at <http://OpenSVN.csie.org/app_repl>, and you can also browse the repository from that URL with a web browser.
yes it's svn. we don't judge here. browse it in your browser like a lil tourist. π
π COPYRIGHT & LICENSE π
Copyright 2007 Julian Fondren, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
and that's the whole page, bestie!! π«Άπβ¨
this was pulled from perl v5.36.0, dated 2022-12-04, and it's the manual for App::REPL(3pm) β go forth and debug interactively, you absolute icon. π
πΈ
π¦ where this page comes from
- debian bookworm: libapp-repl-perl 0.012-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libapp-repl-perl 0.012-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libapp-repl-perl 0.012-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libapp-repl-perl 0.012-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libapp-repl-perl 0.012-3 Β· 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