in reply to Re: Re: Re: extracting values from hashes
in thread extracting values from hashes

its really the values i wanted, not the keys. thanks though
  • Comment on Re: Re: Re: Re: extracting values from hashes

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: extracting values from hashes
by broquaint (Abbot) on Mar 18, 2003 at 14:57 UTC
    Just add a map before the grep like so
    my @data = map $hash{$_}, grep exists $hash{$_}, @array;

    HTH

    _________
    broquaint