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

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 making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2016-06-30 23:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (405 votes). Check out past polls.