(Perhaps unfortunately) The "x" command in the Perl debugger determines whether to put quotes around a value based on whether the value matches /^\d+(\.\d*)?\Z/ (see dumpvar.pl), not based at all on whether or not Perl considers the value to be a string, a number (of one of several types), or both. For example:
"Go figure." - tyeDB<1> x -1 0 '-1' DB<2> x 1e19 0 '1e+019' DB<3> x "123" 0 123
In reply to Re^3: Bug in perl bitwise or?? (x)
by tye
in thread Bug in perl bitwise or??
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |