NAME
Fry::Lib - Class for shell libraries.
DESCRIPTION
A Fry::Lib object has the following attributes:
Attributes with a '*' next to them are always defined.
*id($): Unique id which is full name of module.
*vars(\@): Contains ids of variables in its library.
*opts(\@): Contains ids of options in its library.
*cmds(\@): Contains ids of commmands in its library.
class($): Class autoloaded by library.
depend(\@): Modules which library depends on.
PUBLIC METHODS
runLibInits(@libs): Calls &_initLib of libraries if they exist.
fullName(@libs): Converts aliased libraries that begin with ':' to their full path in Fry::Lib.
setAllObj(%data): Creates core class objects defined by a data hash whose
structure is the same as used to define &_default_data in a library
loadLib($lib): Creates library object and loads library into shell's
executable path.
loadLibs(@libs): loads libraries
unloadLib(@libs): unloads libraries
reloadLibs(@libs): reloads libraries, uses again.pm
initLibs(@libs): loads libraries and runs &runLibInits on them
SEE ALSO
LIBRARIES section of Fry::Shell.
AUTHOR
Me. Gabriel that is. I welcome feedback and bug reports to cldwalker AT chwhat DOT com . If you like using perl,linux,vim and databases to make your life easier (not lazier ;) check out my website at www.chwhat.com.
COPYRIGHT & LICENSE
Copyright (c) 2004, Gabriel Horner. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.