Luke Palmer skribis 2004-06-22 16:32 (-0600): > &*rename.wrap -> $orig, $new, *%opt { > say "Renaming '$orig' to '$new'" if %opt{'verbose' | 'v'}; > call; > }
Would it be possible to just add a named argument, without repeating any part of the existing signature? Like: &*foo.wrap sub (&*foo.signature, +$new_thingy) { # or whatever syntax ... call; } Or is the original signature not usable, and does one need to consult the manual/source and copy it? Juerd