#!/usr/bin/perl6
class  Valute {
    has Str $.currency is rw = "test";
    has $.fun;


    method fun{
        self.currency.say
    }

}
my $a = Valute.new(a=>"asdf");
$a.fun();