HTH{ my @store; sub put { @store = ref($_[0]) ? @{$_[0]} : $_[0]; } sub get { return wantarray ? @store : \@store; } }
broquaint
In reply to Re: storing all type of vars
by broquaint
in thread storing all type of vars
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |