in reply to sharing symbols
where you'd have an module named SHARED_INTEGERS.pm that would export _nothing_ but might look likeuse SHARED_INTEGERS; my $calculation = $SHARED_INTEGERS::alfa * $SHARED_INTEGERS::beta;
I know it's rather in the opposite direction that you are looking for - still, maybe it's worth thinking once more about the pros and cons of the different approaches.package SHARED_INTEGERS.pm $alfa = 123; $beta = 456;
|
|---|