in reply to Newbie Adding Module to Perl

just go to where you downloaded the module, do
$ tar -zxvf Sys-Alarm.tar.gz $ cd Sys-Alarm $ perl Makefile.PL $ make $ make test $ make install
All done, easy huh...there is a place here at the monastery that might offer additional help

hth
-Robert

Update: Pointed to Tutorials

Replies are listed 'Best First'.
Re: Re: Newbie Adding Module to Perl
by from_laura (Initiate) on Apr 09, 2003 at 21:23 UTC
    I tried to go to the directory where AlarmCall.pm is and typing the following: root@uswsqa Sys# /usr/bin/perl Makefile.PL Can't open perl script "Makefile.PL": No such file or directory Can you see what am I missing? I checked that perl is indeed in /usr/bin though I should not have to type the full path since /usr/bin is in roots path. Does Makefile.PL need the argument of AlarmCall.pm? Thanks!
      for me, i download modules to my /tmp directory, so id download Sys-AlarmCall-1.2.tar.gz..then id do the following:
      $ cd /tmp $ tar -zxvf Sys-AlarmCall-1.2.tar.gz
      this is where it would show the files being unzipped and a directory call Sys-AlarmCall-1.2 would be created
      $ cd Sys-AlarmCall-1.2
      now we're in the Sys-AlarmCall-1.2 directory which is where Makefile.PL is
      $ perl Makefile.PL $ make $ make test $ make install
      so if you download the module to a directory called uswsqa Sys, then all you should have to do is substitute that directory for /tmp in the above instructions...

      even though CPAN.pm is suppose to be much easier, i dont push it much cause i once got bit by it, but using make is usually a very easy straight foward process

      hth
      Robert