[perl #46817] [RFC] Should Undef generate a warning?

chromatic via RT parrotbug-followup at parrotcode.org
Sat Oct 18 21:03:03 UTC 2008


If we're going to retain optional warnings, we should take advantage of
them.  The attached patch adds an optional warning to the Undef PMC when
stringifying it.  It's simple to add similar warnings when numifying and
intifying it.  Those are the only places where the warning makes sense
to me.

-- c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stringy_undef_warning.patch
Type: text/x-diff
Size: 1466 bytes
Desc: not available
Url : http://lists.parrot.org/pipermail/parrot-dev/attachments/20081018/827386e7/attachment.bin 


More information about the parrot-dev mailing list