Thanks almut. This may be the way to go. ++ for the small example with Inline C too as I didn't realise you could do this so easily. The only bit I find confusing is why SvNV returns 0 for the non-number cases but I guess it can't do much else as it has to return an NV for some sorts.
In reply to Re^6: Why does sv_2nv on non-number look like an NV
by mje
in thread Why does sv_2nv on non-number look like an NV
by mje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |