in reply to Re: Help with printing values from a hash of hashes
in thread Help with printing values from a hash of hashes

As I mention below, I think the OP wants indexes 1 and 2 -- meaning the 2nd and 3rd element after splitting on ":".

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

  • Comment on Re^2: Help with printing values from a hash of hashes

Replies are listed 'Best First'.
Re^3: Help with printing values from a hash of hashes
by BrowserUk (Patriarch) on Mar 31, 2006 at 03:02 UTC

    Right. I just mentally translated first & second capture to first & second index, and didn't notice that the first field was repeated (in some cases and not quite in others), in the data.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.