VERSION

Version 0.01

SYNOPSIS

This module contains functions that the iperl program automatically imports into any package it enters, for interactive convenience.

Please see the \s-1README\s0 for general information.

EXPORT

FUNCTIONS

x

Print arguments with \*(C`Data::Dumper::Dumper\*(C'

p

Print arguments with \*(C`print\*(C'

env

Return a hashref containing the (stored \*(-- not current) lexical environment.

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. 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 \s-1PPI\s0 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.

AUTHOR

Julian Fondren, \*(C`<[email protected]>\*(C'

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 \s-1PPI\s0.

Please report any bugs or feature requests to \*(C`[email protected]\*(C', 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 \s-1URL\s0 with a web browser.

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.