Re: [perl #38201] Integer pmc doesn't make store an int

2006-01-11 Thread Leopold Toetsch
Joshua Isom (via RT) wrote: Given the code .sub main :main $N0 = 3.14 $P0 = new .Integer $P0 = $N0 print $P0 print "\n" .end this will print 3.14, not 3. The same occurs if using an S register instead of an N register. This is with the latest revision. Yep. That's

Re: [perl #38201] Integer pmc doesn't make store an int

2006-01-10 Thread Will Coleda
FYI, the builtin types automatically shimmer based on assignment. .sub main :main $N0 = 3.14 $P0 = new .Integer $P0 = $N0 $S0 = typeof $P0 print $S0 print "\n" print $P0 print "\n" .end prints: Float 3.14 The assignment of an N register causes the Intege