Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Welcome to the Monastery
 
PerlMonks  

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

by Paladin (Curate)
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 taking refuge in the Monastery: (10)
As of 2013-06-18 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (635 votes), past polls