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:
print( Data::Dumper->Dumpxs( [ \ %WPs ], [ qw{ *WPs } ] ));
The output is directed to the logfile by the Windows-7 redirection
D:\tools\perl\bin\perl -Id:/tools/perl/lib -w Tool5.pl report.xlsx > l
+og.txt
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.
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! Rata