Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #40218] [BUG] - get_*_global opcodes throw exceptions

1 view
Skip to first unread message

Matt Diephouse

unread,
Aug 22, 2006, 10:30:39 PM8/22/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Matt Diephouse
# Please include the string: [perl #40218]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40218 >


So sayeth the docs for the get_*_hll global opcodes:

If the global doesn't exist, $1 is set to null.

However, the current implementation throws an exception if the global
doesn't exist instead of returning null. It was decided in
#parrotsketch on 15 Aug 2006 that returning null is the right thing
to do.

This is a fairly substantial change, requiring changes to tests and
compilers.

--
Matt Diephouse

0 new messages