> Testing with a numeric operator also "works", see below:
> 
> $ perl -Mstrict -Mwarnings -MData::Dumper -wle'
>    my $s = "1234";
>    print Dumper($s);
>    print 1 if $s == 0;
>    print Dumper($s);
>    print 2 if $s eq "1234";
>    print Dumper($s);
> '
> $VAR1 = '1234';
> 
> $VAR1 = 1234;
> 
> 2
> $VAR1 = 1234;
> 

That is interesting.


> That Data::Dumper prefers to print the numeric face of the variable, if
> available, is a matter of choice inside the code of Data::Dumper.
> Maybe the other modules that you use, have Data::Dumper embedded?

That I am not sure, I have to dig into
Language::Prolog::Types::overload;

, if I got time. 


Thank you.


Send instant messages to your online friends http://uk.messenger.yahoo.com

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to