It depends what you want to go into $database.
--$database = "@names"; # space separated list of names $database = @names; # number of elements in @names $database = \@names; # reference to @names $database = [@names]; # reference to a copy of @names
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: using arrays insteaed of files
by davorg
in thread using arrays insteaed of files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |