in reply to storing all type of vars
HTH{ my @store; sub put { @store = ref($_[0]) ? @{$_[0]} : $_[0]; } sub get { return wantarray ? @store : \@store; } }
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: storing all type of vars
by davorg (Chancellor) on Sep 11, 2001 at 15:22 UTC | |
by broquaint (Abbot) on Sep 11, 2001 at 15:29 UTC |