in reply to Re^3: Sharing a variable between (>=) 2 files
in thread Sharing a variable between (>=) 2 files

The "real" problem is, that using 'strict' and 'warnings' does not influence require()d files, so references to unused variables in your require()d file don't give warnings or errors

True. I played around a bit with the code yesterday and also noticed that. When I added 'use strict' to settings.pl, I got a bunch of warnings with the old (wrong) code.
  • Comment on Re^4: Sharing a variable between (>=) 2 files