Re: mail
From: Gunnar Hjalmarsson (noreply_at_gunnar.cc)
Date: 06/29/04
- Next message: Wiggins D Anconia: "Re: mail"
- Previous message: Randy W. Sims: "Re: Creating images"
- Next in thread: Wiggins D Anconia: "Re: mail"
- Maybe reply: Wiggins D Anconia: "Re: mail"
- Maybe reply: John W. Krahn: "Re: mail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: beginners@perl.org Date: Tue, 29 Jun 2004 15:38:25 +0200
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
- Next message: Wiggins D Anconia: "Re: mail"
- Previous message: Randy W. Sims: "Re: Creating images"
- Next in thread: Wiggins D Anconia: "Re: mail"
- Maybe reply: Wiggins D Anconia: "Re: mail"
- Maybe reply: John W. Krahn: "Re: mail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|