in reply to Re: Script not working on large file size
in thread Script not working on large file size

...its working but not on larger files ?

Nothing stands out as particulalry wrong with your code from a quick browse--except maybe that it is probably quite slow. However, you don't say in what way it is not working on large files? Does it produce error messages? Give the wrong output? Never finish?

Are you simply not waiting long enough for it to complete?

Without some hints as to how it's failing, working out why is hard.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
  • Comment on Re: Re: Script not working on large file size

Replies are listed 'Best First'.
Re: Script not working on large file size
by bh_perl (Monk) on Apr 23, 2004 at 02:10 UTC
    Thanks,
    I spend about 2/3 hour to monitor the script and its done whitout any error message. But, some of the data are not changes as per requirements. As example, the 2 last character of lines must be integer, if not then changes to default values ("00")
    #from my script ... if ($dd !~ /\d\d$/ || $dd =~ /<u$/ ) { $dd =~ s/..$/00/g; } ...
    But, the script skips on that case and once I test again on small files, it done..

      Sorry, but I thought you were serious.


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "Think for yourself!" - Abigail