Eric Roode on Mon, 29 Jul 2002 07:16:57 -0400


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

Re:NOT my day in the debugger


Jeff Weisberg writes:
 > 
 > watch:
 > 
 >   > perl -de 0
 >   >   DB<1> x defined \&perl_is_a_such_a_silly_language
 >   > 0  1
 >   >   DB<2> x defined &perl_is_a_such_a_silly_language
 >   > 0  ''

Hmmm.  I thought for sure that the latter expression would invoke a
function called &perl_is_a_such_a_silly_language and test whether it
returned a defined value.

Okay.  Thanks, Jeff.  Sorry for such a braindead mistake.

========================================================================
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**