Requesting review of topic/Int-newline-bugfix

[email protected] (Matthew Horsfall)
Newsgroups perl.moose
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.