You wouldn't have to "guess" if you displayed the error message from the OS.
Change your code to:
FYI -MAD info from http://perldoc.perl.org/perl594delta.html#MADopen(STDOUT, '>>', 'sbguioutput.txt') or die "Can't open log:$!"; # +Note $! added
MAD, which stands for Misc Attribute Decoration, is a still-in-development work leading to a Perl 5 to Perl 6 converter. To enable it, it's necessary to pass the argument -Dmad to Configure. The obtained perl isn't binary compatible with a regular perl 5.9.4, and has space and speed penalties; moreover not all regression tests still pass with it.
When in doubt, mumble; when in trouble, delegate; when in charge, ponder. -- James H. Boren
In reply to Re^3: Windows 7
by NetWallah
in thread Windows 7
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |