in reply to Rakudo function composition problem

(OP updated node after my reply)

As for the Perl 5 version, try lexical variables (i.e. my) for $f, $g and $x.  (outputs "test  test test test" for me)

Replies are listed 'Best First'.
Re^2: Rakudo function composition problem
by eklerks (Novice) on Jun 03, 2010 at 13:56 UTC
    Thanks! I realised the error, (but you were faster ;)) I wrote it a bit fast and sloppy. I updated the node.