rajuskark has asked for the wisdom of the Perl Monks concerning the following question:
I am using eval block many time in my program is. I want to know is there any harm or any drawbacks if using it many times
while (){ ---- eval{----};if($@){-----} ---- eval{----};if($@){-----} --- eval{----};if($@){-----} ----- ----- eval{----};if($@){-----} ----- #and so on }
Original content restored by GrandFather
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Drawback of eval {---}if ($@){---}, when using many times?
by Corion (Patriarch) on Oct 29, 2015 at 11:52 UTC | |
by shmem (Chancellor) on Oct 29, 2015 at 13:47 UTC | |
Re: Drawback of eval {---}if ($@){---}, when using many times?
by kcott (Archbishop) on Oct 29, 2015 at 16:33 UTC | |
by stevieb (Canon) on Oct 29, 2015 at 22:50 UTC | |
Re: Drawback of eval {---}if ($@){---}, when using many times?
by Your Mother (Archbishop) on Oct 29, 2015 at 15:07 UTC | |
Re: Drawback of eval {---}if ($@){---}, when using many times?
by GotToBTru (Prior) on Oct 29, 2015 at 12:25 UTC | |
Re: Drawback of eval {---}if ($@){---}, when using many times?
by Athanasius (Archbishop) on Oct 30, 2015 at 12:42 UTC | |
Re: Drawback of eval {---}if ($@){---}, when using many times?
by Anonymous Monk on Oct 29, 2015 at 11:46 UTC |