The following module was proposed for inclusion in the Module List:
modid: savevars
DSLIP: adppp
description: pragma to autoload and save global variables
userid: SREZIC (Slaven Rezic)
chapterid: 6 (Data_Type_Utilities)
communities:
similar:
vars.pm
rationale:
This pragma is for lazy people. All you do in your script is
use savevars qw($bla %blubber @foo);
instead of "use vars" and you get these variables persistent in a
configuration file. The config file and the old variable values will
be re-loaded at compile time and saved automatically with the help
of an END block.
enteredby: SREZIC (Slaven Rezic)
enteredon: Wed Feb 27 11:43:34 2002 GMT
The resulting entry would be:
savevars adppp pragma to autoload and save global variables SREZIC
Thanks for registering,
The Pause Team
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=ab000000_a5888b8319bad309&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=ab000000_a5888b8319bad309&SUBMIT_pause99_add_mod_insertit=1