Help for this page

Select Code to Download


  1. or download this
    use v5.14;
    
    ...
    {
        say $parameter->name, " has type ", $parameter->type->name;
    }
    
  2. or download this
    Let's check the method call works...
    all vars = 1 2 Foo Bar
    ...
    $no2 has type Int
    $name1 has type Str
    $name2 has type Str