Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: A du(1) real-time sorter using Curses

by Paladin (Priest)
on Sep 03, 2004 at 15:42 UTC ( #388314=note: print w/ replies, xml ) Need Help??


in reply to A du(1) real-time sorter using Curses

Small bug in the name method.

Change

my $index = shift || -1;
to
my $index = shift; $index = -1 unless defined $index;
as 0 is a valid input for the name method to get the name of element 0


Comment on Re: A du(1) real-time sorter using Curses
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://388314]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-11-28 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls