http://qs1969.pair.com?node_id=1041688


in reply to Reaped: Perl Loops

G'day stamp1982,

You asked this yesterday: Perl Loops

You were provided with substantial help including actual code and links to relevant documentation.

You appear to have made little or no effort to either read the documentation or attempt any coding yourself.

This is your homework. You should do it yourself. You'll learn nothing if someone else does it for you.

Please try to do this yourself. If you get stuck, show code that you have written along with any output (including errors messages) and ask a specific question about whatever problem you have encountered.

-- Ken

Replies are listed 'Best First'.
Re^2: Perl Loops
by stamp1982 (Novice) on Jul 01, 2013 at 01:13 UTC
    Dear Ken, Thanks for your input but I just updated my post to reflect where I needed the correction/help at. Thanks!

      Not shown as an Update in your OP:

      I am getting syntax error at near ");" at while (0). How do you fix it?

      To be honest, I find your reply quite unbelievable. Four monks responded to your post yesterday: davido (in Re: Perl Loops) answered the very question you're now asking; vinoth.ree (in Re: Perl Loops) showed a code example of how to do it; farang (in Re: Perl Loops) and rjt (in Re: Perl Loops) pointed you to documentation for this loop construct.

      Go back and read the advice, code and documentation provided. Then make some effort yourself!

      Also read "How do I change/delete my post?".

      Update: Added the names of the four monks and links to their specific posts.

      -- Ken