Hello, topic/Int-newline-bugfix fixes the Int type constraint to not allow newlines:
mhorsfall@FireForge:~$ cat someint.pl
package SomeInt;
use Moose;
has 'x' => (
is => 'ro',
isa => 'Int',
);
package main;
my $x = SomeInt->new(x => "1\n");
print "--", $x->x, "--\n";
mhorsfall@Fireforge:~$ perl someint.pl
--1
--
I believe this branch is ready to be merged to master. Could someone please
review it?
Thanks,
-- alh
