Toru Yamaguchi > MozRepl-0.06 > MozRepl::Plugin::Repl::Search

Download:
MozRepl-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  9
Open  1
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

MozRepl::Plugin::Repl::Search - The fantastic new MozRepl::Plugin::Repl::Search!

VERSION ^

version 0.01

SYNOPSIS ^

    use MozRepl;

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

    my @results = $repl->repl_search({
      pattern => '^getElement',
      context => 'document'
    });
    print join("\n", @results);

DESCRIPTION ^

Add repl_search() method to MozRepl.

METHODS ^

Search properties by regex on specified context.

execute($ctx, $args)

$ctx

Context object. See MozRepl.

$args

Hash reference.

context

Context variable or value.

pattern

Search pattern string.

SEE ALSO ^

MozRepl::Plugin::Base

AUTHOR ^

Toru Yamaguchi, <zigorou@cpan.org>

BUGS ^

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

syntax highlighting: