Hamish32
01-23-2007, 02:49 PM
I have a few scripts that I run from one sub routine.
#!/usr/bin/perl
use warnings;
use strict;
require 'cleaning.pm';
require 'identify.pm';
require 'varAnalysis.pm';
runCleaningProcess();
runIdentProc();
varAnalysis();
if I run the above program it hangs 3 quarters of the way through runIdentProc();
If I comment out varAnalysis();
It runs the whole way through runIdentProc();
in each of the sub routines i have to print a lot of information to files. I am not really sure what is happening here but each part works perfectly when run independently in sequence.
Could this be some sort of Memory Issue?
I get no sort of warning it is just as though the code is in a while loop that never ends.
I then found a for loop that never ended. I commented out the sub routine that contained the for loop and I still have the same stalling.
does anyone have any ideas?
#!/usr/bin/perl
use warnings;
use strict;
require 'cleaning.pm';
require 'identify.pm';
require 'varAnalysis.pm';
runCleaningProcess();
runIdentProc();
varAnalysis();
if I run the above program it hangs 3 quarters of the way through runIdentProc();
If I comment out varAnalysis();
It runs the whole way through runIdentProc();
in each of the sub routines i have to print a lot of information to files. I am not really sure what is happening here but each part works perfectly when run independently in sequence.
Could this be some sort of Memory Issue?
I get no sort of warning it is just as though the code is in a while loop that never ends.
I then found a for loop that never ended. I commented out the sub routine that contained the for loop and I still have the same stalling.
does anyone have any ideas?