in reply to Compilation failed, Vendor::Amazon, Vendor::BarnesNoble
Update:Valid Nit from message below has been picked.
What I think you meant is to get a REFERENCE to a list, which you can do thus:
our %CONFIG = ('db_host' => 'localhost', 'db_name' => 'books', 'db_user' => 'user', 'db_pass' => 'pass', 'html_retrieve_timeout' => 30, 'vendors' => [qw(Amazon BarnesNoble)] ); # Dereference thus: print @{$CONFIG{vendors}};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Unknown compile error - desperation
by Anonymous Monk on Feb 23, 2004 at 03:13 UTC | |
|
that is a reference to an array
by Anonymous Monk on Feb 23, 2004 at 12:59 UTC |