Hi All. In my module, (Data::ParseBinary) there is a certain construct that deals with saving/loading numbers. But now, after I have integrated big integers, the test fails. here is the line of code: die "Invalid Primitive Value" unless defined $data and not ref $data;
It generally work, unless when I try to feed Math::BigInt into it. should I just drop the 'ref' check, accept everything that is defined, and let the 'pack' command complain if it can't process it? Or maybe I should go the regex way, matching my $data against some /^\d*(?\.\d+)(?[eE]\d+)$/ or something... So, what do you think? Shmuel. _______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
