On Wed, Oct 11, 2006 at 06:29:00PM -0700, Larry Wall wrote:
:   s:s:g[<,> (\w+): (.+) <,>] = -> $key, $val { $key => $val }.(@())

Hmm, that won't work, since @() is a single argument.  It'd have to be one of:

    s:s:g[<,> (\w+): (.+) <,>] = -> [$key, $val] { $key => $val }.(@())
    s:s:g[<,> (\w+): (.+) <,>] = -> $key, $val { $key => $val }.(|@())

Larry

Reply via email to