in reply to Re^6: Can I access and use UV types from perl?
in thread Can I access and use UV types from perl?
This is what I would tend to expect (using integer):
c:\@Work\Perl\monks>perl -le "use strict; use warnings; ;; use integer; ;; use Test::More tests => 2; ;; my $x = 5; my $y = 3; ;; is $x / $y, 1, qq{$x / $y == 1 is expected}; is $y / $x, 0, qq{$y / $x == 0 is expected}; " 1..2 ok 1 - 5 / 3 == 1 is expected ok 2 - 3 / 5 == 0 is expected
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Can I access and use UV types from perl?
by Don Coyote (Hermit) on Nov 18, 2019 at 02:22 UTC |