in reply to TK filehandle path

welle:

Since you're changing the current directory in open_directory_file(), the output directory is no longer where you think it is, relative to your current directory.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^2: TK filehandle path
by welle (Beadle) on Jul 09, 2012 at 17:05 UTC

    Thank you! You brought me to the right "path" ;)

    I have updated a working solution.