When developing in Perl, yesterday evening, I noticed something that favours Perl to java. When running my application, I did the following:
perl -I
This is similar to java:
java -cp
(Calls the magical main method on MyApp class)
So far, so good! When I finish up my application in Perl, I can install it in the 'site_perl' directory of installed modules (using ExtUtils::MakeMaker - cross platform and standard), and then I can do:
perl -MMyApp -emain
Java, on the opposite, does not has a notion of a central class/package repository on a local machine. Instead, java app vendors deliver a long list of
java -cp "~/javalibs/a.jar;b.jar;c.jar;... ad infinitum" com.stupidcompany.magicmain.MagicMain
Perl is good, it provides me with a central repository for my modules!
Regards,
Johan
Perl is better than java! One reason why. 0 Comments More | Login | Reply /