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."
In reply to Re: about arrays...
by davorg
in thread about arrays...
by ArcaneUniverse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |