|Do you know where your variables are?|
Re: (tye) BigInt usageby ryan (Pilgrim)
|on Feb 18, 2001 at 08:00 UTC||Need Help??|
Thanks, all is happy now. I left my first line 'ungolfed' as I actually have 7 other unrelated parameters on the command line after the two IPs.
I thought I should answer my original question about BigInt initialisation that was rightfully dispelled.
I was assuming Perl was as strongly typed as Java, and it is done a lot in Java to force data types to an outputable format from default output functions in some of the java system calls.
Java would do something like this to force an integer to a string so it can pass it to initialise a BigInt:
So..... my point?
Numbers and strings are interchangeable (as written in many a Perl book) so you can just assign a numeric variable in the place of a string:
Just wanted to contribute to the topic as we veered off it :)