I needed to add 50-digit numbers, so I considered them as βstringsβ and wrote my own functions to combine them. Subsequently, to hell with this, I tried this:
readFile(shift (@ARGV)); sub readFile { my $file = shift;
and to my surprise it worked. I do not understand. In any other language I have ever used, you will have to use some special variable for this. Does Perl automatically detect that you have a very large number and process it accordingly? If so, if it is known in advance that they will deal with very large numbers, is there a Perl module that is more efficient than Perl can handle them by default?
Thanks in advance.
source share