Hello Friens,
I have a eval block and some if conditions within it and I would like to
exit the eval block.
i.e
eval{
my @resp = something;
if ((some condition)){
$str_output = "do something";
--------> I want to exit from here....to Reach After Eval
}
else{
some condition
--------> I want to exit from here....to Reach After Eval
}
};
if($@){
$str_output = "something";
}
Reach After Eval ...
which command can i use.. something like a break in java....
----------------------------------------------------------------------------
----------------
regards,
Ajitpal Singh,
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>