in reply to Re: (jeffa) Re: Partial extractions on hashes
in thread Partial extractions on hashes
Actually, I think you've got that slightly wrong. The original code says:
if(!exists $is_acct{$usershare}){
Which is searching on key - not value.
Tie::Hash::Regex still isn't a solution because I only implemented the FETCH method, not EXISTS. But it wouldn't be too difficult to add that.
--<http://www.dave.org.uk>
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: (jeffa) Re: Partial extractions on hashes
by busunsl (Vicar) on May 11, 2001 at 16:59 UTC | |
by OzzyOsbourne (Chaplain) on May 11, 2001 at 19:45 UTC |
In Section
Seekers of Perl Wisdom