NAME
Zoidberg::Config - Install configuration for Zoidberg
SYNOPSIS
use strict;
use vars qw/%ZoidConf/;
use Zoidberg::Config;
use Data::Dumper;
print Dumper \%ZoidConf;
DESCRIPTION
This package contains the installation configuration for the Zoidberg modules. It does _not_ contain user configuration, it only enables the Zoidberg shell to find the user configuration files.
EXPORT
By default %ZoidConf
is exported.
METHODS
output()
-
Print current configuration to STDOUT.
mutate(\%config, $file)
-
FIXME optional $file arg
This method overloads the current configuration with
%config
, overwrites the module's source file and reloads itself. This routine is ment to be used at install time only ! It is _not_ reversable. The values of%config
should be eval-able perl statements without a;
or\n
in it.
AUTHOR
Jaap Karssenberg || Pardus [Larus] <j.g.karssenberg@student.utwente.nl>
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