You can preserve e.g. octal string form but have it come out as the correct number in a decimal context with:
use Scalar::Util "dualvar"; use constant Foo => dualvar(0040,"0040");
In reply to Re: Unwanted Octal to Decimal Conversion
by ysth
in thread Unwanted Octal to Decimal Conversion
by djantzen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |