[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Organizing data
- Subject: [ale] Organizing data
- From: phasefx at magusaptus.com (Jason Etheridge)
- Date: Wed Apr 28 08:52:57 2004
- In-reply-to: <1083154714.17392.188.camel@devel>
- References: <1083110917.17415.153.camel@devel> <[email protected]> <1083126767.18748.179.camel@devel> <[email protected]> <1083154714.17392.188.camel@devel>
Chris Fowler wrote:
> When I get into the hash of hashes I have to know if a key points to a
> value or another hash.
if ( ($a_ref->($ref}->{$ref2}->{$ref3}) =~ /^HASH(.+)$/ ) {
// it's probably a hash reference unless stuff
// like "HASH(0x10d870)" could be valid data
} else {
// it's not a hash
}
> So I want to mimic the data I just want to do it right.
There's the kicker. How do you define that? :D
-- Jason