[Petal] Petal::Hash - get vs. fetch

William McKee william at knowmad.com
Mon Oct 13 19:34:18 BST 2003


Could someone who is familiar with Petal::Hash enlighten me as to the
difference between get and fetch? I am working on a modifier that will
take a key of an arrayref in the hash and return a random subset of
items from the list. I'm finding that both get and fetch are returning
the same list for me. Should I use one over the other?

Thanks,
William

-- 
Knowmad Services Inc.
http://www.knowmad.com


More information about the Petal mailing list