++ed by:
KEEDI

1 PAUSE user(s)

Toru Yamaguchi

NAME

MozRepl::Plugin::Repl::Inspect - Inspect specified javascript object.

VERSION

version 0.01

SYNOPSIS

    use MozRepl;

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

    print $repl->repl_inspect({ source => 'window.getBrowser().contentWindow.location' });

DESCRIPTION

Add repl_inspect() method to MozRepl.

METHODS

execute($ctx, $args)

$ctx

Context object. See MozRepl.

$args

Hash reference.

source

Target object, default value is current context object. (optional) (Just do it same as repl.look())

name

Each properties prefix label. (optional)

max_depth

Limitation inspecting depth. (optional)

current_depth

Start inspecting depth. (optional)

SEE ALSO

MozRepl::Plugin::Base

AUTHOR

Toru Yamaguchi, <zigorou@cpan.org>

BUGS

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