On 05/25/2014 09:50 AM, Kamil Kułaga wrote:
> Hi,
>
> My question is about passing parameters to .new method that do not
> correspond to any field in class. This example;
>
> use v6;
>
> class PersonalId{
> has Int $.number;
> has Str $.full_name;
> }
>
> my Hash $p; #just because i'm scar
On 05/25/2014 09:50 AM, Kamil Kułaga wrote:
Hi,
My question is about passing parameters to .new method that do not
correspond to any field in class. This example;
use v6;
class PersonalId{
has Int $.number;
has Str $.full_name;
}
my Hash $p; #just because i'm scared of pair conversi