On Thu, 2 Sep 1999, Jan Peter Hecking wrote:
> > So if I want to extract the key(s) Tu,Th, from array @Week,
> > I define the filter like this:
>
> An array doesn't have keys. Therefore the selectkeys handler only
> works on hashes. You have to use the map handler if you have an
> array with lots of hashes with common keys. (for an example see
> below)
Also, let's not forget that in the context of News Clipper, you can't just
apply something like selectkeys to just any data. Check the documentation
embedded in the acquisition handlers -- if they say that they return a hash
with keys X,Y & Z, then you know it's okay.
David
_________________________________________________________________________
David Coppit
[EMAIL PROTECTED]
President, Spinnaker Software
-
If you would like to unsubscribe from this mailing list send an email to
[EMAIL PROTECTED] with the body "unsubscribe newsclipperlist
YOUR_EMAIL_ADDRESS" (without the quotes) or use the form provided at
http://www.NewsClipper.com/TechSup.htm#MailingList.