MozRepl::Plugin::Repl::Print - Print value


MozRepl documentation  | view source Contained in the MozRepl distribution.

Index


NAME

Top

MozRepl::Plugin::Repl::Print - Print value

VERSION

Top

version 0.01

SYNOPSIS

Top

    use MozRepl;

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

    print $repl->repl_print("Kyoshinhei ga do-n!!!"); ### Kyoshinhei ga do-n!!!

DESCRIPTION

Top

Add repl_print() method to MozRepl.

METHODS

Top

execute($ctx, $args)

Print value.

$ctx

Context object. See MozRepl.

$args

Hash reference.

source

Javascript variable or value.

newline

Include newline(\n). default true.

SEE ALSO

Top

MozRepl::Plugin::Base
MozRepl::Util

AUTHOR

Top

Toru Yamaguchi, <zigorou@cpan.org>

BUGS

Top

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

Top


MozRepl documentation  | view source Contained in the MozRepl distribution.