in reply to Perl Script stops in middle of execution, no error messages

Hi, something you could try:

Seeing something unusual?

Update: Do it all with Perl - forget the cat and slurp the file; see How can I read in an entire file all at once?
Update2: If your environment/requirements allows that: Forget the slurp and read the page directly into $fileContent using e.g. LWP::Simple...

Replies are listed 'Best First'.
Re^2: Perl Script stops in middle of execution, no error messages
by MatheusAA (Initiate) on Nov 12, 2008 at 18:02 UTC
    Thank you everyone. I still don't know if it was something related to perl itself, or to the network. Anyway, specially thanks to Perlbotic tip about LWP::Simple. It is helping me much and seems to have solved the problem. cya