I tried using named parameters (S06) and found this to work:

  pugs> sub formalize($text, +$case) { say $text } formalize('hello');
  hello
  bool::true

But unfortunately, this did not:

  pugs> sub formalize($text, +$case) { say $text } formalize('hello', 
case=>'upper');
  *** Error:
  unexpected "f"
  expecting term, ";" or end of input
    at <interactive> at line 1, column 44

I'm not sure where to fix this, but thought I should report it.

-kolibrie

Reply via email to