On Thursday 24 June 2004 09:46 pm, lfm wrote:
>   if so ,why we will "perl Makefile.PL;make;make test; make install during
> the installation of the perl module
>
>   if not ,why can "perl xxx.pl" be executed directly without any other
> files produce?
>
>   i am puzzled, very much!

Yes, perl is a scripting language. You may write your own
scripts and do "perl xxx.pl" and be happy - no translate-compile-
link as in other non-scripting languages ( i.e. c, c++, etc. ).

But as you use perl more and more, you find that you may be faced
with problems that have been already coded ( maybe hundreds of
times by other more experienced perl programmers ); these pre-coded
and tested 'solutions' reside on CPAN as 'modules'. In order to install
one of these modules you must go through the perl Makefile.PL, make,
make test, and make install cycle - but just once for each version
of each module you want to use in your perl script. (By the way, this
install operation may be made simpler by using the CPAN or CPANPLUS
modules - also on CPAN ).

After your modules are installed, you are back to the simple
script cycle of "perl xxx.pl".

Maybe if you tell us more about what you are trying to do, we can
help you select a module or modules you may need and step you through
the process.

Don't give up! You will be rewarded.

Aloha => Beau;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to