in reply to 2 Working Subroutines Conflict

The problem lies in the renaming of the file. Once you rename the file, $coeodir no longer has the correct filename, so your splitter routine is trying to open a file that does not exist. Pass the new filename to the splitter routine and it should work fine.

Vavoom

Replies are listed 'Best First'.
Re: Re: 2 Working Subroutines Conflict
by Fletch (Bishop) on Oct 21, 2001 at 04:54 UTC

    Or on a real OS you should be able to open a handle and then rename the file without any ill effect. You could then just pass a handle to the splitting routine.

Re: Re: 2 Working Subroutines Conflict
by bustergonad (Acolyte) on Oct 21, 2001 at 08:05 UTC
    The splitter routine is based on directories, so how would I do this?