| Fry-Shell documentation | Contained in the Fry-Shell distribution. |
Fry::Config::Default - Default Config plugin for Fry::Shell.
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
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 (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.
| 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__