Hi Monks,
I have a piece of code which tries to execute a stored procedure. That stored proc gives errors sometime because of which my script fails. I need to add the the same in a eval block like :
my $getval = eval {stored proc calling with $_};
Now i want that if the stored proc fails then instead of ending my program it should just go and take the next element in the array and proceed again with evaluating the stored proc. Tried using ||do and also if($@) etc. but couldn't get it to work. Kindly suggest something.