hp51185 has asked for the wisdom of the Perl Monks concerning the following question:
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: while loop with diamond operator
by tobyink (Canon) on Aug 07, 2012 at 12:34 UTC | |
Re: while loop with diamond operator
by blue_cowdawg (Monsignor) on Aug 07, 2012 at 14:03 UTC | |
Re: while loop with diamond operator
by aitap (Curate) on Aug 07, 2012 at 12:34 UTC | |
Re: while loop with diamond operator
by SerZKO (Beadle) on Aug 07, 2012 at 18:37 UTC |
Back to
Seekers of Perl Wisdom