O
okey
How do I pass just a "slice to mysubsub()? I have an array reference
to three hashes
$p = [ {a => "1"}, {b => "2"}, {c => "4} ];
mysub($p);
sub mysub {
my ($pF) = @_;
#every thing ok so far
mysubsub($pF); #passes all three
# want something like this, but can't seem to make it work.
mysubsub(@{$pF->[1..2]})
Thank you.
to three hashes
$p = [ {a => "1"}, {b => "2"}, {c => "4} ];
mysub($p);
sub mysub {
my ($pF) = @_;
#every thing ok so far
mysubsub($pF); #passes all three
# want something like this, but can't seem to make it work.
mysubsub(@{$pF->[1..2]})
Thank you.