in reply to Perl Script called within a Perl Script does not execute
I added the 'perl' interpreter to the line that executes the perl script , now it executes even when the condition enters the 'else' block.
Then you changed something else as well. Step through the code in debug (perl -d) and it will probably be embarrassingly obvious.