Daniel Brockman skribis 2005-11-20  6:58 (+0100):
> Well, wouldn't pushing an element onto @xyzzy be more like
> pushing the car to @foo and the cdr to @bar, or throwing an
> exception if the new element is not a Pair?
Zipping has nothing to do with pairs, though!

Consider, for example:

    @foo Y @bar Y @baz

> (What is Perl's pair terminology, by the way?)

A Pair has a key and a value. To retrieve the key, use the .key method,
to retrieve the value, use the .value method, to retrieve a list of
both, use the .kv method.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to