Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Kazaa Lite Companion

by treefr0g (Novice)
on Jul 20, 2002 at 18:33 UTC ( #183637=note: print w/ replies, xml ) Need Help??


in reply to Kazaa Lite Companion

Just out of curiosity, what is the line

my $i = '1';

for in your if block? Seems like you could just use an unless block instead of if/else.

I do really like the idea of using this to sort files by type and/or artist.


Comment on Re: Kazaa Lite Companion
Download Code
Re: Re: Kazaa Lite Companion
by Dragonfly (Priest) on Jul 24, 2002 at 18:59 UTC
    D'oh! I always forget about unless. You're absolutely right, it's sheer force of bad habit on my part. Still, I might use if/elseif/else to do more sophisticated sorting. I'm not sure yet...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (19)
As of 2015-07-06 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (75 votes), past polls