I have method
ftpGet($$$)
where first parameter is $mode=A,B or N
parameter two is @list which is not applicable other than for mode N
parameter three is $subMode- only applicable to mode N
I have difficulties passing in the parameters @list in. It was definitely initialised before sub call.
Anyway, what should I be doing? I tried different permutations of
Tried replacing @ with $, and using sub($$$) instead of sub(@), also tried differnent permutaions of @ and $, but no luck.......
What should I really do?? :-(
ftpGet($$$)
where first parameter is $mode=A,B or N
parameter two is @list which is not applicable other than for mode N
parameter three is $subMode- only applicable to mode N
I have difficulties passing in the parameters @list in. It was definitely initialised before sub call.
Anyway, what should I be doing? I tried different permutations of
Code:
sub(@)
$mode = @_[0];
@list = @_[1];
$subMode=@_[2];
What should I really do?? :-(