in reply to Re: Private methods
in thread Private methods

I think the printing to STDERR was merely to show us how this works and not a programming technique you actually use, so I'll skip that

correct.

I'm more concerned with how you are using $_init_

Pardon the naming... it was more or less just supposed to be an arbitrarily named private method.

I'm wondering why you have the ref($type) || $type in your code

Again, this was just my fingers typing away trying to make a cohesive example... usage for this was not the intended question and how it will be applied to the design is by no way intended to be examplified here.

So forgive the lacking example. I was merely trying to flesh out the question so that it would not appear vague.


cp
---
"Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic."