Home: Perl Programming Help: Beginner:
while loop with diamond operator

New User

Aug 7, 2012, 4:58 AM

Views: 1593
while loop with diamond operator


I am trying to run a perl script on tomcat server. I am getting the data from the incoming http request in a variable which collects the headers as well as the text file attachment data. The code is like this :



$data = $data . $_ ;



This works fine on apache but on tomcat 6.0 this is getting hanged.

What is the issue?

Thanks in advance



Aug 7, 2012, 12:30 PM

Views: 1578
Re: [hp51185] while loop with diamond operator

Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Oracle Corporation, and provides a "pure Java" HTTP web server environment for Java code to run.

Tomcat is not the same as the Apache web server, which is a C implementation of an HTTP web server;

this might answer that....