Skip Menu |

This queue is for tickets about the Tie-DiskUsage CPAN distribution.

Report information
The Basics
Id: 23889
Status: resolved
Priority: 0/
Queue: Tie-DiskUsage

People
Owner: Nobody in particular
Requestors: john.stoffel [...] taec.toshiba.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: File/Directory names with spaces not handled properly
Date: Mon, 11 Dec 2006 15:27:56 -0500
To: bug-Tie-DiskUsage [...] rt.cpan.org
From: "John Stoffel" <john.stoffel [...] taec.toshiba.com>
If a directory or filename has a space or other whitespace character in the output of the 'du' command, then the data stuffed into the %usage array gets messed up. The solution is to change the %usage = (reverse split); to %usage = (revers split(" ",$_,2)); Instead. Thanks, John