in reply to about arrays...
our @weekly_date_list;
This allows access to the package variable @weekly_date_list within the current block.
@weekly_date_list = (@weekly_date_list , "$date");
This stringizes $date and then adds it to the end of the @weekly_date_list array. I think that that author probably meant to write:
--push @weekly_date_list, $date;
"The first rule of Perl club is you don't talk about Perl club."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: about arrays...
by ArcaneUniverse (Initiate) on Sep 27, 2001 at 14:12 UTC | |
by davorg (Chancellor) on Sep 27, 2001 at 14:27 UTC |