#1
  1. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Perl


    niakakaw perl
  2. #2
  3. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    man


    hello
  4. #3
  5. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Tiny logic error


    while < 21
    and
    until > 21

    aren't quite identical. The "=21" condition
    falls on opposite sides of the two tests.

    Better would be

    while < 21
    until >= 21 (or in plain language, "until at least 21")
  6. #4
  7. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)
  8. #5
  9. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)
  10. #6
  11. No Profile Picture
    Ducani
    Guest
    Devshed Newbie (0 - 499 posts)

    Perl 101 (Part 3) - Looping The Loop


    Perl 101 \(Part 3\) - Looping The Loop

    Part 3 in our continuing series on the popular scripting language, Perl. This week's article teaches you more about Perl's control structures - including the FOR and WHILE loops - and also introduces you to Perl's array variables. Click for full article.

    Please discuss this article in this thread. You can read the article here .

IMN logo majestic logo threadwatch logo seochat tools logo