Hi, I am new to perl and need some help.
How do we pass array of scalars to a subroutine.
I need something like this
***************************************
sub ABC {
my(@buffer) shift;
print @buffer;
}
I want to call this subroutine from some other code like.
ABC( @this_buffer );
*****************************************
Shift works for scalars, but does it work for Array of Scalars ?
Regards
Rajeev
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
