in reply to Chart::Pie

I don't know what your Problem is exactly, but it sounds like you've lost control of your library paths.

If this is right: Look out for 'perldoc perlrun', 'perldoc -f use', 'perldoc lib', and so on. If I'm false, I'm sorry.

hth,phay

Ordinary morality is for ordinary people. -- Aleister Crowley

Replies are listed 'Best First'.
Re^2: Chart::Pie
by Anonymous Monk on Feb 15, 2005 at 13:04 UTC
    My hosting server which I have no control of, could not read when I upload the whole folder. But if I put a single file it has no problem. If I put the Pie.pm in Chart folder the @inc wouldn't find it. But if I put Pie.pm without the folder it detect it but as it is originally Chart::Pie, they must be some broken link, so please anyone help me fix this. This output is what I get

    Can't locate object method "gif" via package "Pie" at....

    I need to show my client tommorow, so I need to find a quick fix.

    Thanks

      If you give some code it might help.

      Except that:
      use Pie; # 'uses' Pie.pm, the file Pie->gif; # uses package Pie, method gif, defined by "package" # try use Pie; Chart::Pie->gif()
      Or give some more code.

      Ordinary morality is for ordinary people. -- Aleister Crowley