On Thu, 2002-04-11 at 00:47, Damian Conway wrote: > sub load_data ($filename) { load_data($filename, 1) } > > sub load_data ($filename, $version) {...}
Interesting. This brings goto to mind. Above, I could just assume that inlining will happen, but what about goto? Obviously: sub load_data($filename) { goto &load_data } would be ambiguous, and would throw away the (now lexical) $filename. I can't see any way to usefully preserve the old new meaning of goto. Is this a good thing?