Re: dynamic array values

2002-01-30 Thread Jenda Krynicky
From: Scott Lutz <[EMAIL PROTECTED]> > Here is the story: > "@array" with unknown number of elements, that I want to cycle through > while assigning variables to each value in the loop like this: > > __snip__ > > foreach my $domain ( @DOMAINS_ORDERED ){ > (my $DOM_NAME

RE: dynamic array values

2002-01-30 Thread Bob Showalter
> -Original Message- > From: Scott Lutz [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 30, 2002 2:00 AM > To: Beginners Perl > Subject: dynamic array values > > > Here is the story: > "@array" with unknown number of elements, that I want

dynamic array values

2002-01-29 Thread Scott Lutz
Here is the story: "@array" with unknown number of elements, that I want to cycle through while assigning variables to each value in the loop like this: __snip__ foreach my $domain ( @DOMAINS_ORDERED ){ (my $DOM_NAME, my $TLD) = split(/\./, $domain, 2); #split the domain into 2, so we ca