in reply to Sharing a variable between (>=) 2 files
Using $verbose => 1 etc will use the value of the variable $verbose as a key, instead of the string "verbose" which is what you probably want.##### start of settings.pl ##### our %default_settings = ( verbose => 1, debug => 0, help => 0, game => "etqw" ); ##### end of settings.pl #####
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sharing a variable between (>=) 2 files
by dichtfux (Sexton) on Nov 30, 2007 at 22:56 UTC | |
by Joost (Canon) on Nov 30, 2007 at 23:08 UTC | |
by dichtfux (Sexton) on Dec 01, 2007 at 14:51 UTC | |
by Argel (Prior) on Dec 01, 2007 at 00:10 UTC |