Don't try to parse Perl, only perl can parse Perl (modules like PPI come close, but still can't do everything). Use a Config:: module like choroba suggested, or if it's only one or two simple values, environment variables can sometimes be enough (see %ENV).
In reply to Re: Prepocessing perl code / substing variables
by haukex
in thread Prepocessing perl code / substing variables
by nataraj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |