MozRepl::Client - MozRepl client class using telnet.


MozRepl documentation  | view source Contained in the MozRepl distribution.

Index


NAME

Top

MozRepl::Client - MozRepl client class using telnet.

VERSION

Top

version 0.03

METHODS

Top

new($ctx, $args)

Create instance. two arguments.

$ctx

Context object. see MozRepl.

$args

Hash reference.

host

Default value is "localhost".

port

Default value is 4242.

timeout

Default value is 10(sec).

extra_client_args

See Net::Telnet's new method arguments.

setup($ctx, $args)

Two arguments.

$ctx

Context object. see MozRepl.

$args

Hash reference.

host

Default value is "localhost".

port

Default value is 4242.

timeout

Default value is 10(sec).

execute($ctx, $command)

Execute command and return result string or lines as array.

$ctx

Context object. see MozRepl.

$command

Command string.

prompt($prompt)

Telnet prompt string.

quit()

Quit connection.

SEE ALSO

Top

Net::Telnet

AUTHOR

Top

Toru Yamaguchi, <zigorou@cpan.org>

BUGS

Top

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