in reply to Re^6: input switch
in thread input switch

Oops, my bad, I didn't see that.

does seem a bit counter intuative to use a late binding method when you already know the method name. I could defned my solution in so much that if it is implemented in the future, then you automatically get the benefits it brings...

--
RatArsed

Replies are listed 'Best First'.
Re^8: input switch
by Aristotle (Chancellor) on Sep 09, 2002 at 16:23 UTC
    Seems counterintuitive, doesn't it? Unfortunately early binding simply isn't possible in Perl since a) you can add symbols to a package at runtime (think AUTOLOAD tricks) and b) @ISA can be modified anytime. Perl is in general a very highly dynamic language, but that comes at a price..

    Makeshifts last the longest.