CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



hp51185
New User

Aug 7, 2012, 4:58 AM

Post #1 of 2 (915 views)
while loop with diamond operator Can't Post

Hello

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 :

....

while(<>){

$data = $data . $_ ;

}

...



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

What is the issue?



Thanks in advance

Harsh


wickedxter
User

Aug 7, 2012, 12:30 PM

Post #2 of 2 (900 views)
Re: [hp51185] while loop with diamond operator [In reply to] Can't Post

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....

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives