Search found 2 matches

by devdavad
Wed Sep 03, 2008 11:39 pm
Forum: Coding Critique
Topic: A Perl beginner's array searcher
Replies: 3
Views: 2082

Re: A Perl beginner's array searcher

I may be wrong but I believe all that your elsif will do is compare the stdin input to whatever is in the last piece of your @something array. It looks like what you are doing is saying if the key exists (and the user is searching for it), do something. Otherwise if the key equals the last item in ...
by devdavad
Wed Sep 03, 2008 11:16 pm
Forum: Coding Critique
Topic: A Perl beginner's array searcher
Replies: 3
Views: 2082

A Perl beginner's array searcher

delete this account