Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Looks like the "workaround" would be (removing the @Vals) line, as that hides
the errormy $_debug_ops = (0 | DBG_RAND | DBG_KEYS |DBG_INFO);
That puts in numeric context...sigh. Sometimes I'd like to be able to put a "numeric" or "string" in front a var to let it know what I want. The alternative is use something of the appropriate type (num or string), first, but that's not nearly so clear as being able to put in a "numeric" , like one does with "scalar", now.
Thanks for the heads up...I'd report it as a but, but not sure how they'd fix it -- though I sure don't know why it's returning "=28" (hex equiv to left paren). It's interesting that the XS version is consistent (i.e. same constant). In reply to Re^2: runtime problem; elusive error
by perl-diddler
|
|