it's called a config file.
There many approaches, including YAML or JSON to avoid code execution during inclusion.
If there are no security concerns, the simplistic approach is to use do or require to execute a perl-file defining global variables.
Cheers Rolf
In reply to Re: Include external variables?
by LanX
in thread Include external variables?
by johnfl68
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |