sub mysub {
my ($var, @array) = @_;
my @new_array = ();
#do sth to @array or $var;
return @new_array;
}
read - perldoc perlsub
Regards,
Edward WIJAYA
On Sat, 6 Nov 2004 12:48:26 +0530, Anish Kumar K.
<[EMAIL PROTECTED]> wrote:
Hi
I want to pass a array and and a varaible to a subroutine and then some
processing will be done at the subtroutine and the array should be
returned....Please help me in trying to figure out...
Thanks
Anish
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>