# New Ticket Created by  Jerry Gay 
# Please include the string:  [perl #44139]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=44139 >


the api for opcodes needs review, especially with regard to the
response to exceptional behavior. for example, the documentation for
B<length> in src/ops/string.ops reads:

  =item B<length>(out INT, in STR)

  Set result $1 to the length (in characters) of string $2.
  If $2 is NULL or zero length, zero is returned.

however, if a null string is passed in to length, the user should get
some notification of an exceptional condition. *at least* a warning,
and possibly a fatal exception.

~jerry

Reply via email to