Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] To end a foreachloop in between

Expand Messages
  • merlyn@stonehenge.com
    ... KalyanRaj last if $value eq 76 ; It looks like your data is numeric. If that s the case, you should be using == 76, not eq 76 . -- Randal L.
    Message 1 of 5 , Apr 26, 2006
    • 0 Attachment
      >>>>> "KalyanRaj" == KalyanRaj <kalyanrajs@...> writes:

      KalyanRaj> last if $value eq "76";

      It looks like your data is numeric. If that's the case, you should
      be using == 76, not eq "76".

      --
      Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
      <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
      Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
      See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
    Your message has been successfully submitted and would be delivered to recipients shortly.