Dear monks!
I have a nested hash data-structure with about 80000 entries, which I want to dump to a logfile for debugging reasons. I use the following line:
The output is directed to the logfile by the Windows-7 redirectionprint( Data::Dumper->Dumpxs( [ \ %WPs ], [ qw{ *WPs } ] ));
Unfortunately, I get a pop-up-error-window stating that the perl-interpreter is no longer working and needs to be stopped. Looking at the logfile, this error occurs somewhere "in the middle" of the line above - the hash has not been fully dumped. I am using ActiveState Perl 5.8.2 under Windows 7.D:\tools\perl\bin\perl -Id:/tools/perl/lib -w Tool5.pl report.xlsx > l +og.txt
Do you have any idea why this could happen and how to prevent it? Fortunately, it is only a minor annoyance, as the script finished processing, and the error occurs afterwards - nevertheless it would be fine if there would be an easy explanation (is there a limit of characters when redirecting script-output?) and a workaround.
Thanks in advance! RataIn reply to Perl interpreter stops when writing logfile - why? by Ratazong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |