in reply to Re: Re: Why Would HTML::LinkExtor return a <I>hash</I> of attributes?
in thread Why Would HTML::LinkExtor return a hash of attributes?
which would print IAMNOTQUOTINGWORDSTIMES5print I => AM => NOT => QUOTING => WORDS => TIMES => 5;
Using this fancy comma doesn't make a hash. A hash is a "data structure", and I => AM => NOT => QUOTING => WORDS => TIMES => 5 is a list.
Now you can do many things with lists. You can create arrays ( also data structures )
and you can create hashesmy @ARRAY = ( I => AM => NOT => QUOTING => WORDS => TIMES => 5 );
. Do you follow now?my %HASH = ( I => AM => NOT => QUOTING => WORDS => TIMES => 5 );
____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.
|
|---|