Zoidberg - a modular perl shell
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.
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.
FIXME - see also zoiddevel(1)
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.
%attr
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.
exit()
list_objects()
List secondary objects. These do not need to be loaded allready, the list is based on the config files.
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.
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
http://zoidberg.sourceforge.net
To install Zoidberg, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zoidberg
CPAN shell
perl -MCPAN -e shell install Zoidberg
For more information on module installation, please visit the detailed CPAN module installation guide.