use Attribute::Persistent; my %hash :persistent; # Value retained between calls to the program. $hash{counter}++; # Explicitly provide a filename. my %hash2 :persistent(SessionTable);
_________
broquaint
In reply to Re: global variable between scripts
by broquaint
in thread global variable between scripts
by wolverina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |