After installation, the module is ready to use. Try running your program. For the sudo command you have to modify the file /etc/sudoers, in this file stands which user is allowed to execute which command with root permission. therefore you you have to add yourself allowing to execute the perl -M CPAN install ...... command.
On Thu, 2004-11-11 at 15:42, Stephen Liu wrote: > Hi Chris, > > Tks for your advice. > > --- Chris Devers <[EMAIL PROTECTED]> wrote: > > > All you have to do is install it. > > > > sudo perl -MCPAN -e 'install Algorithm::Diff' > > There was something strange happend here in runnning > > $sudo perl -MCPAN -e 'install Algorithm::Diff' > Password: > Sorry, try again. > Password: > Sorry, try again. > Password: > Sorry, try again. > sudo: 3 incorrect password attempts > > I tried several times but I can't login. I have to > 'su' first and then ran; > > #perl -MCPAN -e 'install Algorithm::Diff' > ....... > ....... > Running make install > Installing > /usr/lib/perl5/site_perl/5.8.3/Algorithm/diffnew.pl > Installing > /usr/lib/perl5/site_perl/5.8.3/Algorithm/diff.pl > Installing > /usr/lib/perl5/site_perl/5.8.3/Algorithm/htmldiff.pl > Installing > /usr/lib/perl5/site_perl/5.8.3/Algorithm/Diff.pm > Installing > /usr/lib/perl5/site_perl/5.8.3/Algorithm/DiffOld.pm > Installing > /usr/lib/perl5/site_perl/5.8.3/Algorithm/cdiff.pl > Installing /usr/share/man/man3/Algorithm::Diff.3pm > Installing /usr/share/man/man3/Algorithm::DiffOld.3pm > Writing > /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/Algorithm/Diff/.packlist > Appending installation info to > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/perllocal.pod > /usr/bin/make install -- OK > > It worked for me. Did I make any mistake? > > Furthermore if I could not find the module from > Internet, how to create it. As beginner on perl, I'm > interested to learn. Please advise. > > TIA > > B.R. > Stephen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>