Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Mozilla::ConsoleService
Perl interface to Mozilla nsIConsoleService

Mozilla::ConsoleService - Perl interface to Mozilla nsIConsoleService


NAME

Mozilla::ConsoleService - Perl interface to Mozilla nsIConsoleService


SYNOPSIS


  use Mozilla::ConsoleService;

  Mozilla::PromptService::Register(sub { print $_[0]; });


DESCRIPTION

Mozilla::ConsoleService uses Mozilla nsIConsoleService to pass log messages to perl code, similar to JavaScript Console in Mozilla.

For more detailed documentation on nsIConsoleService see Mozilla's documentation.


METHODS

Register($callback)

Registers callback to get log messages. Log messages are passed as strings.


SEE ALSO

Mozilla nsIConsoleService documentation, Mozilla::Mechanize.


AUTHOR

Boris Sukholitko, <boriss@gmail.com>


COPYRIGHT AND LICENSE

Copyright (C) 2006 by Boris Sukholitko

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy