General Perl Setup Questions

Building and understanding a PERL build. I am working on porting a WEB application from SOLARIS to TRU64. I have built, and rebuild perl trying to come up with a consistant build. Sometimes it fails, some times there are no problems  but then I can not connect to the database. Sometimes the build reports errors in my makefile and on and on and on.

I would like some documentation on properly installing and analyzing a build.  Some diagnostic hints and tips, a tool that can analyze exactly what is contained in a build.  Any help would be great.
LVL 2
dhymesAsked:
Who is Participating?
 
Kim RyanConnect With a Mentor IT ConsultantCommented:
I don't really see this a kludge. It sounds like the standard distribution is bundled with the OS.

You could find that Java is actually SLOWER than Perl. The best way to test is benchmark some typical code with both languages.

If your Perl code is well written it can be just as portable as Java, the only catch is that the complier must be on each target machine.

Speed is all relative too. Sure, C gives you the fastest running programs, but is much harder to program with. It depends if you want to optimize for development or run time. Bare in mind tha Perl can emit C code which can then compile, and perhaps hand optimize. ModPerl can also speed up your Perl scripts.


----
http://www.metronet.com/~tye/perlsvr4.html 

Starting from Tru64 V5.0 Perl 5 ships standard with Tru64. (As of Tru64 V5.0 5.004_04, but 5.005_03 is on the supplementary freeware CD-ROM.)...


0
 
Kim RyanIT ConsultantCommented:
You should look at: http://www.metronet.com/~tye/perlsvr4.html
This book covers Perl internals farily well, http://www.oreilly.com/catalog/advperl/

Also according to www.perl.com 
....Starting from Tru64 V5.0 Perl 5 ships standard with Tru64. (As of Tru64 V5.0 5.004_04, but 5.005_03 is on the supplementary freeware CD-ROM.)...


0
 
dhymesAuthor Commented:
Great, thanks for the info.
0
 
Kim RyanIT ConsultantCommented:
Glad to help. If this was what you were after, I can propose my comments as an answer if you like.
0
 
dhymesAuthor Commented:
Really strange, wonder why you would have to perform this cludge to get a clean perl install? I guess this is why it is recomended that you only use perl as a tool, and never include it in a production product.  The funny thing is that the port I am working on is using perl as their primary development language (A big performance mistake!). Yes, they did make the right choice when it came to CPU intensive processes, and they wrote those in C (No not C++), should have used C++, but C++ has not caught on over here in E-Germany, or W-Germany for that matter.

But, the good news is that they have identified perl as a major bottle neck in their Web Application and are moving to JAVA, not to say JAVA will fix all of their performance problems, but it will help in the portability of their application.

Ok, I thank you for your input and will except it as an answer.

Thanks much,
Dave Hymes
0
All Courses

From novice to tech pro — start learning today.