Variables are exported in exactly the same way as subroutines are (tho' you'll need to ensure that they are package variables, not lexical variables).
See Exporter for more details.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Access to (exported?) variabes of a module
by davorg
in thread Access to (exported?) variabes of a module
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |