in reply to local autovivification dismemberment...

I can't follow what you are looking for. You've provided pseudo-code and left out quite a bit of information that could be useful. For example, VAL1, VAL2, and VALX are barewords being used as keys? Are they constants (with use constant)? Are they scalars, but you left off the dollar signs?

Also, you appear to have a regex, but without the binding operator: '=' should be '=~'.

If you supply us with a sample of input data and what the resulting data structure should look like, that would help.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

  • Comment on (Ovid) Re: local autovivification dismemberment...

Replies are listed 'Best First'.
Re: (Ovid) Re: local autovivification dismemberment...
by jynx (Priest) on Jan 04, 2001 at 06:44 UTC
    please disregard this question,

    Your questions prompted me to do a complete write and as soon as i rewrote what i was doing it became clear (since i was also trying to explain what i was doing in the post to make sure it was clear). Thank you for asking the question you did, it actually made me think of things in a way i wouldn't have normally.

    i will ++ you tomorrow when i have more votes (and Fastolfe as well, his questions were just as valid!). Thanks all around, your confusion answered my question (so to speak)...

    jynx