Hi,
New to perl so I hope this isn't a dumb one, I've looked but I can't find an explanation for this:
I've got a script to analyse a win2k directory listing and produce a list of the number of files and total size for each file type. The bit that prints the output is:
This is giving the result I expected (eg "doc 3 10000"
but after every line it's printing a line containing something like "ARRAY(0x1a54ae0)". Any idea why these are appearing and how I can get rid of them?
Thanks in advance,
Rob
New to perl so I hope this isn't a dumb one, I've looked but I can't find an explanation for this:
I've got a script to analyse a win2k directory listing and produce a list of the number of files and total size for each file type. The bit that prints the output is:
Code:
foreach $extension(%filetypeinfo){
print("$extension \t $filetypeinfo{$extension}->[0] \t $filetypeinfo{$extension}->[1]\n");
}
Thanks in advance,
Rob