Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Re: what am I missing?

Reply
Thread Tools

Re: what am I missing?

 
 
Mark
Guest
Posts: n/a
 
      08-25-2003

"fnord" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ...
> I've got this subroutine running:
>
> ##################################
> # check to see if letters entered are really in the available array
> #################################
> sub lettersExist
> {
>
> print "letters: $letters\n";
> if ($vulnerable eq 0)


Also, may want to look at above line again. Use 'eq' to compare strings (ie:
"a" eq "a"), but use == to compare numbers (ie: 12 == 12).


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments