D
Daniel Berger
Hi all,
The following snippet is a silly thing to do, but I
thought it might be worth mentioning. It segfaults on
1.8p5, but not 1.6.x:
a = [1,2,3,4]
h = {}
a.map{ |e| h[e] = a.shift }
Suse Linux 8.0, btw.
Regards,
Dan
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
The following snippet is a silly thing to do, but I
thought it might be worth mentioning. It segfaults on
1.8p5, but not 1.6.x:
a = [1,2,3,4]
h = {}
a.map{ |e| h[e] = a.shift }
Suse Linux 8.0, btw.
Regards,
Dan
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com