.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "App::REPL 3pm" .TH App::REPL 3pm "2021-01-08" "perl v5.32.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" App::REPL \- A container for functions for the iperl program .SH "VERSION" .IX Header "VERSION" Version 0.01 .SH "SYNOPSIS" .IX Header "SYNOPSIS" This module contains functions that the iperl program automatically imports into any package it enters, for interactive convenience. .PP Please see the \s-1README\s0 for general information. .SH "EXPORT" .IX Header "EXPORT" .SH "FUNCTIONS" .IX Header "FUNCTIONS" .SS "x" .IX Subsection "x" Print arguments with \f(CW\*(C`Data::Dumper::Dumper\*(C'\fR .SS "p" .IX Subsection "p" Print arguments with \f(CW\*(C`print\*(C'\fR .SS "env" .IX Subsection "env" Return a hashref containing the (stored \*(-- not current) lexical environment. .SS "ret" .IX Subsection "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 \f(CW$n\fR, to return the \f(CW$n\fR'th previous result. .ie n .SS "rdebug ($value)" .el .SS "rdebug (\f(CW$value\fP)" .IX Subsection "rdebug ($value)" With no arguments, bump \f(CW$REPL::DEBUG\fR. With an argument, set \&\f(CW$REPL::DEBUG\fR to that. This is for debugging iperl itself; currently at 1 it shows eval'd code, and at 2 it dumps the \s-1PPI\s0 document corresponding to entered code. .SS "help (commands)" .IX Subsection "help (commands)" With no arguments, print a brief message. With an argument, either print corresponding help or \*(-- in the case of \f(CW\*(Aqcommands\*(Aq\fR, currently the only optional argument \*(-- call perldoc appropriately. .SH "AUTHOR" .IX Header "AUTHOR" Julian Fondren, \f(CW\*(C`\*(C'\fR .SH "BUGS" .IX Header "BUGS" Does not reliably report errors in eval'd code. .PP Does not try hard enough to collect a return value from eval'd code. .PP Makes probably dangerous use of \s-1PPI.\s0 .PP Please report any bugs or feature requests to \&\f(CW\*(C`bug\-app\-repl@rt.cpan.org\*(C'\fR, or through the web interface at . I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. .SH "VERSION CONTROL" .IX Header "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 \s-1URL\s0 with a web browser. .SH "COPYRIGHT & LICENSE" .IX Header "COPYRIGHT & LICENSE" Copyright 2007 Julian Fondren, all rights reserved. .PP This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.