The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Zoidberg - a modular perl shell

SYNOPSIS

You should use the zoid system command to start the Zoidberg shell. If you want to initialize the module directly see the code of zoid for an elaborate example.

DESCRIPTION

This page contains devel documentation, if you're looking for user documentation start with the zoid(1) man page.

This class provides the main object of the Zoidberg shell, all other objects are nested below attributes of this object. Also it contains some parser code along with methods to manage the events and plugin framework.

ATTRIBUTES

FIXME - see also zoiddevel(1)

METHODS

FIXME list all methods

Some methods:

new(%attr)

Initialize secondary objects and sets config. %attr contains attributes to be used and is used to set runtime settings.

main_loop()

Spans interactive shell reading from a secondary ReadLine object or from STDIN. To quit this loop the routine exit() of this package should be called.

list_objects()

List secondary objects. These do not need to be loaded allready, the list is based on the config files.

exit()

Called by plugins to exit zoidberg -- this ends a interactive main_loop() loop. This does not clean up or destroy any objects, this means the main_loop() can be called again to restart it.

round_up()

This method should be called to clean up the shell objects. A round_up() method will be called recursively for all secondairy objects.

AUTHOR

Jaap Karssenberg || Pardus [Larus] <pardus@cpan.org>

R.L. Zwart, <carl0s@users.sourceforge.net>

Copyright (c) 2002 Jaap G Karssenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/language/misc/Artistic.html and http://www.gnu.org/copyleft/gpl.html

SEE ALSO

http://zoidberg.sourceforge.net