| MozRepl documentation | view source | Contained in the MozRepl distribution. |
MozRepl::Plugin::Repl::Back - Back to previous context
version 0.01
use MozRepl;
my $repl = MozRepl->new;
$repl->setup({ plugins => { plugins => [qw/Repl::Enter Repl::Back/] } });
$repl->repl_enter({ source => "window" });
$repl->repl_enter({ source => "gBrowser" });
$repl->repl_enter({ source => "contentWindow" });
print $repl->repl_back(); ### gBrowser/[object XULElement]
print $repl->repl_back(); ### window/[object ChromeWindow]
Add repl_back() method to MozRepl.
Back to previous context.
Toru Yamaguchi, <zigorou@cpan.org>
Please report any bugs or feature requests to
bug-mozrepl-plugin-repl-back@rt.cpan.org, or through the web interface at
http://rt.cpan.org. I will be notified, and then you'll automatically be
notified of progress on your bug as I make changes.
Copyright 2007 Toru Yamaguchi, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| MozRepl documentation | view source | Contained in the MozRepl distribution. |