Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Wrong package used when method and package have the same name

by kudra (Vicar)
on May 02, 2006 at 14:27 UTC ( [id://546901]=note: print w/replies, xml ) Need Help??


in reply to Re: Wrong package used when method and package have the same name
in thread Wrong package used when method and package have the same name

Thanks for the information. I guess I should not have called it a minimal test case but simply a reduced test case.

Usually my method names would be lower-case and my package names ucfirst, so the situation would never come up. In this case I was attempting to replace an existing module and retain the same method names, which happened to use this a mixed case capitalization scheme. The duplicate names were introduced when I decided some of the data shouldn't really be stored in the original module, because multiple instances would need to be stored, and the logical name for the holding class was of course the same as the original method name...

  • Comment on Re^2: Wrong package used when method and package have the same name

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-18 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found