Jack Jack wrote:
I have two arrays @a and @b,
each of the arrays have lotz of elements.
what i want is the first element of @a should be assigned the
first element of array @b.
The result should be combined in one array @c, so that i can send
the @c mail. I have a rough idea that we can in HASH, but not
sure.
Is this what you mean:
my %c; # declares the hash %c
@c{ @a } = @b; # populates %c using a hash slice
Not that I understand how this relates to sending mails...
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>