mr_p has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I would like to add string variables and arrays in hash, can someone help me how to do this? My Code will be going though multiple url and storing its links in newLinks.
Thanks.
@Hash ( url = "http://www.perl.org", @newArray = [], @lastArray = [] );
How Do I do this in perl and access it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hashes and String Variables
by ikegami (Patriarch) on Jun 13, 2010 at 22:14 UTC | |
by mr_p (Scribe) on Jun 14, 2010 at 00:33 UTC | |
by mr_p (Scribe) on Jun 14, 2010 at 01:06 UTC | |
by toolic (Bishop) on Jun 14, 2010 at 02:10 UTC | |
by mr_p (Scribe) on Jun 14, 2010 at 14:01 UTC | |
by mr_p (Scribe) on Jun 14, 2010 at 15:07 UTC | |
by ikegami (Patriarch) on Jun 14, 2010 at 17:34 UTC | |
|
Re: Hashes and String Variables
by ww (Archbishop) on Jun 13, 2010 at 22:18 UTC | |
|
Re: Arrays and Strings in Hashes
by toolic (Bishop) on Jun 13, 2010 at 23:04 UTC |