Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: GOTO or not GOTO

by JavaFan (Canon)
on Jan 27, 2009 at 11:42 UTC ( [id://739159]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $max_tries = 10;
    GETSTORE:
    ...
        goto GETSTORE if $status == 200 && !-s $file && --$max_tries > 0;
        ... do stuff ...
        return $status;
    
  2. or download this
        my $max_tries = 10;
        my $status;
    ...
        }
        .. do stuff ..
        return $status
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-23 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found