Link to home
Start Free TrialLog in
Avatar of ambuli
ambuliFlag for United States of America

asked on

Perl: How do I break from a do - while loop


Hi Experts,

Is there a "break" in perl?

do
{
    if( some)
    {
        // break here
    }

} while( some condition );
Avatar of farzanj
farzanj
Flag of Canada image

Use last
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
also if you want to go to a specific line user the GOTO stmt