Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: Perl Loops

by kcott (Archbishop)
on Jul 01, 2013 at 01:37 UTC ( #1041696=note: print w/replies, xml ) Need Help??

in reply to Re^2: Perl Loops
in thread Reaped: Perl Loops

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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1041696]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2022-08-19 11:53 GMT
Find Nodes?
    Voting Booth?

    No recent polls found