in reply to Re: simple substitution
in thread simple substitution

Using require to load a file without a package statement is asking for trouble. Use do for such files.

Better yet if you're going for re-use, make a real module (one that uses package) and use Exporter or the like to allow the user code to import only the constants and variables it needs.