How do you declare $project within your main package? My initial thought is that you're declaring it using my, in which case it's a lexical variable, not a package variable and won't be visible from outside the main file.
If that's not right, perhaps you can post a cut-down versnio of the code which exhibits this behaviour.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: require & $main::variables
by davorg
in thread require & $main::variables
by physi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |