Re: what am I missing?

Discussion in 'Perl' started by Mark, Aug 25, 2003.

  1. Mark

    Mark Guest

    "fnord" <> wrote in message
    news:...
    > 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).
    Mark, Aug 25, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul Fox
    Replies:
    0
    Views:
    738
    Paul Fox
    Mar 5, 2004
  2. Mark Newby
    Replies:
    1
    Views:
    1,685
  3. CodeMonkey
    Replies:
    0
    Views:
    400
    CodeMonkey
    Oct 11, 2005
  4. Acceed See
    Replies:
    1
    Views:
    516
    Carl W.
    Apr 22, 2005
  5. Gary Herron
    Replies:
    2
    Views:
    652
    Bruno Desthuilliers
    Jul 4, 2006
Loading...

Share This Page