http://qs1969.pair.com?node_id=182994

TuXaS has asked for the wisdom of the Perl Monks concerning the following question:

hi, can you tell me what is this error message? "can't call method "%s" in empty package "%s"" ? And how to fix this error?

Replies are listed 'Best First'.
Re: What is it?
by Abstraction (Friar) on Jul 18, 2002 at 19:30 UTC
    From the Camel book.

    (F) You called a method correctly, and it correctly indicated a package functioning as a class, but that package doesn't have anything defined in it, let alone methods.


    If you want help fixing the problem you'll have to post some code.
Re: What is it?
by mikeirw (Pilgrim) on Jul 18, 2002 at 19:33 UTC

    Check out perldiag. If you're on a Unix machine you can do:

    perldoc perldiag

    ...or you can just type perldiag in the search box above.

Re: What is it?
by Anonymous Monk on Jul 18, 2002 at 23:24 UTC
    It is a error. To fix the error:
    - Identify the error
    - Figure out how to fix it
    - open the programs source code in a text editor
    - press the keys on the computers key board until the error is gone - repeat if neccessary
    :P
      lol