Fry::Config::Default - Default Config plugin for Fry::Shell.


Fry-Shell documentation Contained in the Fry-Shell distribution.

Index


Code Index:

NAME

Top

Fry::Config::Default - Default Config plugin for Fry::Shell.

DESCRIPTION

Top

A valid config file could be :

	$conf =  {
		vars=>{
			prompt=>'Have you read your prompt lately?:',
			pager=>'more'
		}
	};

Note: configuration data structure structure must be named $conf

AUTHOR

Top

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

Top


Fry-Shell documentation Contained in the Fry-Shell distribution.

package Fry::Config::Default;

sub setup {}
sub read {
	my ($class,$file) = @_;
	our $conf = {};
	do $file;
	return $conf;
}
1;

__END__