in reply to Error when using GD::Graph - "use: command not found"

That sounds like a shell error, which means it's not perl that's trying to run your text.

--
brian d foy <brian@stonehenge.com>
  • Comment on Re: Error when using GD::Graph - "use: command not found"

Replies are listed 'Best First'.
Re^2: Error when using GD::Graph - "use: command not found"
by saberworks (Curate) on Aug 22, 2005 at 18:54 UTC
    Which in turn means you should check the top line of your program and make sure it points to your perl, i.e.:
    #!/usr/bin/perl
    Or run perl manually:
    perl myfile.pl