in reply to Re: Cygwin perl and (internal) numeric representations.
in thread Cygwin perl and (internal) numeric representations.
On my Cygwin perl I need to:long i; if(SvIOK(a)) i = SvIV(a);
or perhaps (untested):double d; if(SvIOK(a)) d = SvNV(a);
I guess I just need to rethink what I'm trying to do.long long ii; if(SvIOK(a)) ii = (long long)SvIV(a);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Cygwin perl and (internal) numeric representations.
by parv (Parson) on Nov 26, 2006 at 05:47 UTC | |
by syphilis (Archbishop) on Nov 26, 2006 at 08:16 UTC |