Bogart Salzberg wrote:

Is there a compelling reason why lc() and friends must return a defined value at all times? Just curious...

Not sure if you got an answer to your question or not, but essentially, yes.

lc is defined as modifying a string by performing the appropriate upcase operation on all of its elements.

When an undefined value is treated as a string, it is converted into the empty string (this is universal in perl).

So, in essence this is the same as performing math on undef and getting back 0.

_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to