in reply to Re^2: return from external subroutine
in thread return from external subroutine

Since you said the Moving::move_file was never called, so chances are that you have an infinite loop in Parse::parse_file. Try to insert a few print statements to see where it hangs.

Speaking for infinite loops: Once you've got a symbolic link from one directory to a subdirectory you script will loop.

You could circumvent this by checking for symlinks with -l.

And use strict and warnings - really!

Replies are listed 'Best First'.
Re^4: return from external subroutine
by kathys39 (Acolyte) on Aug 24, 2007 at 12:05 UTC
    Bingo - that was it - I had put an exit statement in my while loop a long time ago, and it was exiting the Parse.pm script prematurely. Thanks for all the help -