in reply to sub ($self,$var,@arr) {}
Get in the habit of passing references around, much nicer to your RAM.my $foo = new Foo; $foo->Bar($var, \@array); sub Bar { my $self = shift; my ($var, $array_ref) = @_; }
Jeff
R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) Re: sub ($self,$var,@arr) {}
by raptor (Sexton) on Feb 13, 2001 at 15:57 UTC |