From: "Ara.T.Howard" Date: 2004-03-10T06:44:41+09:00 Subject: Re: bizare yaml values On Wed, 10 Mar 2004, Carlos wrote: > ["Ara.T.Howard" , 2004-03-09 15.34 CET] > > gll: > > ... > > limits: &id001 > > ... > > ... > > This is an anchor ('limits:' should have the array description, too, > probably below). A reference to 'limits' can be made later with '*id001'. yes - i see both but never the data. i've gotten around it by taking a #dup, but this sounds like it may be a bug eh? - i can print the variable - inspect can see it - pp can see it - marshal can see it - yaml can't -a > > See http://www.yaml.org/refcard.html > > and > > http://yaml4r.sourceforge.net/cookbook/#aliases_and_anchors . > > > > > -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328 | URL :: http://www.ngdc.noaa.gov/stp/ | TRY :: for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done ===============================================================================