Gabriel Horner > Fry-Shell-0.15 > Fry::Base

Download:
Fry-Shell-0.15.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Fry::Base - Base class providing minimal set of handy methods. Some used to communicate between shell components and used to communicate between shell components.

DESCRIPTION ^

This class provides a minimal set of handy methods made available to most Fry::* modules. Among these is &var which contains the variable class. The variable class facilitates communication between classes since it contains almost all of the shell's configuration information.

PUBLIC METHODS ^

        Core class methods
                var: returns a shell's variable class
                lib: returns a shell's library class
                opt: returns a shell's option class
                sub: returns a shell's subroutine class
                cmd: returns a shell's command class
                obj: returns a shell's object class
                type: returns a shell's type class

        Methods wrapping around core classes' methods
                Sub: calls sub->call
                Var($var): gets variable value
                setVar(%var_to_value): sets variable value
                Flag($var): gets flag value
                setFlag(%var_to_value): sets flag value

        Plugin-related methods  
                Config: returns configuration plugin class
                Error: returns error plugin class
                Rline: returns readline plugin class
                View: returns view plugin class
                Dump: returns dump plugins class
                dumper: Calls dump plugin's &dump.
                view: Calls view plugin's &view. Recommended subroutine for printing output of a command.

        Other methods
                listCore: lists all core classes

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.

syntax highlighting: