I'm trying to pass an array to a subroutine. I'd like the subroutine to
create "@f" from the "[EMAIL PROTECTED]" that I send it, but I can't seem to
figure out
the syntax. Is there a way to replace my "???f???" with something to make
it work?
**************************************
@a = (1,2,3,4);
$b = 10;
$c = 5;
d($b,[EMAIL PROTECTED],$c);
sub d {
($e, ???f??? ,$g) = @_;
print $f[2], "\n";
}
**************************************
TIA.
- Bryan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>