> > tie %thehashinquestion, 'Sorted', flubber(^a,^b);
   > > 
   > > ???
   > > 
   > > Damian
   > 
   > 
   > Compiler will know to pass flubber as ref-to-code instead of
   > intant eval because (^a,^b) instead of ($a,$b), or is more,
   > like \&flubber needed here?

I was using the HOF notation, just to mirror your use of an anonymous sub.

In fact:

        flubber(^a,^b)

means:

        sub { flubber($_[0], $_[1]) }

Of course, you could also say:

        \&flubber

in this context and save a subroutine call.

Damian

Reply via email to