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


in reply to Newbie using modules

"So I decided to download a first module and try it. I started downloading Email::Send::Gmail and proceed with the installation but it crashed so hard because a lot of other modules needed lol."

Depending on your Perl version, you will have the CPAN (and CPANPLUS with 5.10) installed. These modules can handle downloading and installing dependencies for you. For more info, please see: CPAN and CPANPLUS

--
b10m

Replies are listed 'Best First'.
Re^2: Newbie using modules
by diffredential (Beadle) on Oct 05, 2008 at 20:11 UTC
    Thanks you all for answering!!! I've added that line $chart->output('/home/diffredential/Desktop/expression.png'); and nothing happened. The strace command gave a lot of complicated output to check anything for me! I downloaded the CPAN module some days ago, but I coudn't figure out how to use it having the Email::Send::Gmail tar gz file. I run in the interactive module "install Emaill...tar.gz" and start doing something but crashed at some point. Wow can't understand why it works to some of you and not for me :(
      Show us some of the "complicated output", the last 30 to 50 lines should be the most interesting (in <c> and code tags please).
        I am also having the same problem - I am on Windows and in the bin folder I have wgnuplot and I adjusted Gnuplot.pm accordingly. If I use .ps I get an empty file and if I use .png nothing gets created.
      Any idea? kinda weird :S really simple script with a simple module , :S anyone knows how to plot the image with gnuplot instead of saving it into an image? (maybe the problem is there)