Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Private methods

by crouchingpenguin (Priest)
on Mar 09, 2003 at 19:08 UTC ( [id://241594]=note: print w/replies, xml ) Need Help??


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."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://241594]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-20 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found