http://qs1969.pair.com?node_id=715576


in reply to Re^2: Object Oriented packages - classes and subroutines
in thread Object Oriented packages - classes and subroutines

Sorry, I don't get it. Call it like this:

my $whatever = My::Class->whatever();

Is it the verbosity of the class name that bothers you or something else?

/J

Replies are listed 'Best First'.
Re^4: Object Oriented packages - classes and subroutines
by educated_foo (Vicar) on Oct 11, 2008 at 07:07 UTC
    Yes, it's the totally unnecessary verbosity that's extremely annoying to get rid of. That doesn't bother you?
        From that post, you clearly believe that (1) everything is a method, and (2) you'll usually want to override things. In my experience and in my view, both of these claims are deeply wrong, but it's obvious they are a matter of taste. For example, I find smalltalk loathsome and dogmatic, but it appeals to a lot of people.