Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: $object->UnrelatedPackage::some_subroutine() (not for me)

by Thilosophy (Curate)
on Feb 18, 2005 at 06:05 UTC ( [id://432194]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -e 'Lie->Pkg::Meth()'
    Can't locate object method "Meth" via package "Pkg" (perhaps you forgo
    +t to load "Pkg"?) at -e line 1.
    
  2. or download this
    $ perl -e '$a = "Lie"; $a->Pkg::Meth()'
    Can't locate object method "Meth" via package "Pkg" (perhaps you forgo
    +t to load "Pkg"?) at -e line 1.
    
  3. or download this
    $ perl -e '$a = []; $a->Pkg::Meth()'
    Can't call method "Pkg::Meth" on unblessed reference at -e line 1.
    $ perl -e '$a = 123; $a->Pkg::Meth()'
    Can't call method "Pkg::Meth" without a package or object reference at
    + -e line 1.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-24 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found