&somesub(\@arr1, \@arr2);
sub somesub {
my $ref1 = @_[0];
my $ref2 = @_[1];
print "arrray 1:", @$ref1;
print "\narrray 2:", @$ref1 , "\n";
}
-----Original Message-----
From: Lysander [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 3:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Trying to use strict
But how do you pass Arrays (plural)?
Would it be
my arr1 = @_[0];
my arr2 = @_[1];
Would that work with the
my $diemessage = $_[0];
that I am already using?
Sheridan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]