NAME

savevars - Perl pragma to auto-load and save global variables

SYNOPSIS

use savevars qw($frob @mung %seen);

DESCRIPTION

This module will, like use vars, predeclare the variables in the list. In addition, the listed variables are retrieved from a per-script configuration file and the values are stored on program end. The filename of the configuration file is "$ENV{HOME}/.${progname}rc", where progname is the name of the current script.

The values are stored using the Data::Dumper module, which is already installed with perl5.005 and better.

AUTHOR

Slaven Rezic <eserte@cs.tu-berlin.de>

Copyright (c) 1998,1999 Slaven Rezic. All rights reserved. This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

vars.