in reply to Re: Problem with saving files using File::Util on Windows
in thread Problem with saving files using File::Util on Windows

Thank you for your reply. I read "How do I post a question effectively?" and please excuse me for bugging you all with Tk. I apparently had a different understanding of "minimal example". The script replicated my problem, but I see what you mean: "Make it as easy as possible to reproduce the problem using the least amount of lines."

I used File::Path and IO::File as you suggested and everything is working by now. Thank you again!

  • Comment on Re^2: Problem with saving files using File::Util on Windows

Replies are listed 'Best First'.
Re^3: Problem with saving files using File::Util on Windows
by kennethk (Abbot) on Dec 23, 2009 at 15:16 UTC
    You did reasonable job minimizing the code, but the point I was making was that your issue did not require Tk. If I read a post and see use Tk; up top, I assume the issue pertains to GUI. As I am not familiar with the intricacies of Tk, I'm likely to skip it without much consideration since I figure there are monks more well suited to aid that OP. In addition, testing your code requires I have Tk installed on my machine, and I'm not going to install Tk just to run the code of an unknown netizen.

    In summary, your priorities in creating code to be posted should be first use strict; use warnings;, then the smallest number of dependencies, and finally short but clear code.