Accessomg Method Via Instantiation or Statically
Posted on 2009-02-10
I need some clarification on an issue I was presented with, need to make sure I know exactly what I'm discussing.
Say I have a module:
Foo::Bar and in this class we have a subroutine called "go"
How would I demonstrate the differentiation between instantiating the Foo::Bar module, then calling "go" or just calling "go" from a non-instantiated method (static)
I'm kinda new to perl so I apologize if this doesn't make the most sense. Also, am I using the term "static" correctly?