Help for this page

Select Code to Download


  1. or download this
    multi sub prefix:<foo> (Str $a) {
         return $a eq "foo" ?? "bar" !! "foo";
    }
    
  2. or download this
    foo "foo";
    
  3. or download this
    
    BEGIN {
    ...
    
    # and later in the code:
    foo "fo" ~ "o";