Start New Discussion Reply to this Discussion while loop with diamond operator
Hello
I am trying to run a perl script on tomcat server. I am putting the incoming http request in a variable data 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
Related Article: perl script host loop
is a Perl discussion thread by abulut that has 4 replies, was last updated 7 months ago and has been tagged with the keywords: perl, scripr, securecrt.
hp51185
Newbie Poster
1 post since Aug 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
© 2013 DaniWeb® LLC
Page rendered in 0.3023 seconds
using 2.67MB