NAME

MozRepl::Plugin::Repl::Load - Load external script

VERSION

version 0.01

SYNOPSIS

use MozRepl;

my $repl = MozRepl->new;
$repl->setup({ plugins => { plugins => [qw/Repl::Load/] } });

$repl->repl_load({
  uri => q|http://json.org/json.js|
});
print $repl->execute("String.prototype.toJSONString;");

DESCRIPTION

Add repl_load() method to MozRepl.

METHODS

execute($ctx, $args)

Load external script

$ctx

Context object. See MozRepl.

$args

Hash reference.

uri

External script location.

context

Default undefined.

SEE ALSO

MozRepl::Plugin::Base
MozRepl::Util

AUTHOR

Toru Yamaguchi, <zigorou@cpan.org>

BUGS

Please report any bugs or feature requests to bug-mozrepl-plugin-repl-load@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 & LICENSE

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.