Ovid wrote:
>     use Test::Sims::Moose 'random';
> 
>     Person->new( 
>         name => random('Person.name'), 
>         age  => random('Person.age') 
>     );
> 
> And that would potentially have issues when it assigns "\t" to $name and -12 
> to $age
> , even those are both valid values for the types in question.

Then I guess you need better defined types.

Test::Sims isn't so much about generating the random data, that's more
Data::Random is about.  So MooseX::Data::Random or something.


-- 
Robrt:   People can't win
Schwern: No, but they can riot after the game.

Reply via email to