Eric Roode on Fri, 26 Jul 2002 11:33:13 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[The debugger and overloading] More info


It seems that if I provide a dummy "" overload function:

use overload '>'   => '_gt',
             '>='  => '_ge',
             '<'   => '_lt',
             '<='  => '_le',
             '<=>' => '_cmp',
             '=='  => '_eq',
             '""'  => sub { 'blat!'},
             '!='  => '_ne';

the variable dump in the debugger works just fine (and with no
"blat!"s, either).  So I wonder if this is a bug in the debugger (or
maybe in overload.pm).
 
========================================================================
Eric J. Roode                                              eric@myxa.com
Senior Software Engineer, Myxa Corporation               +1(610)234-2623
print scalar reverse sort qw p ekca lre reh 
ts uJ p, $/.r, map $_.$", qw e p h tona e;
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**