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 #####
In reply to Re: Sharing a variable between (>=) 2 files
by Joost
in thread Sharing a variable between (>=) 2 files
by dichtfux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |