[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Slight newbie question



Wade Williams <wwilliam@cisco.com> writes:
}My apologies for what may be a FAQ, but I've looked through all the
}documentation and cannot find an answer.
}
}I'm looking to install a CPAN module, in this case, Date-Manip 5.09.  Like
}a true beginner, I tried running Makefile.pl.  That resulted in a nasty
}crash.

Forget the makefiles.  You don't install modules the way the instructions say.

}
}Do I just need to move the manip.pm into the lib:ExtUtils folder?  If not,
}what else needs to be done?

Only if you "use ExtUtils::Manip".  Judging from the name, it looks as if
you just move Manip.pm into a folder named Date somewhere in your MacPerl
search path.  It is usually *not* a good idea to put additional modules in
your :MacPerl Ä:lib, mainly because you'll waste a lot of time rescuing
them when you install a new version of MacPerl.  Instead, create a new
folder for your additional modules, and put this folder in your MacPerl
search path (this is, after all, what happens on a Unix machine with
site_perl).  I call mine PERL5LIB, and I would install Date::Manip as
:PERL5LIB:Date:Manip.pm.

}
}Secondly, all the modules I've seen say "refer to the man page."  I'm
}assuming the man page would be installed by the makefile, but I've been
}unable to find anything in the distribution that looks even remotely like a
}man page.  What am I missing?

Start up Shuck (included in the MacPerl distribution), and open Manip.pm
with it.  You should see the documentation.

In addition to the man page, there are other things that the Makefile might
have done, like AutoSplitting the module.  Try just dragging it into place,
and if it doesn't work, let us know what's not working.  If the module is
written in Perl (and not exclusively in C), it's usually possible to get it
to work, but it's sometimes not a trivial process.

}
}Thanks,
}
}Wade
}
} ---------------------------------------------------------------------------
} Wade Williams                      "Any escape might help to smooth the
} Systems Engineer                    unattractive truth, but the suburbs
} Cisco Systems, Inc.                 have no charms to soothe the restless
} Brentwood, TN                       dreams of youth."
} 615-221-2918                              - N. Peart
} wwilliam@cisco.com
} ---------------------------------------------------------------------------
}
}
}
}***** Want to unsubscribe from this list?
}***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch


--------
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
Greenbelt, MD 20770
schinder@pjstoaster.pg.md.us


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch