![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: How to protect Redis calls with eval ?by shmem (Chancellor) |
on Apr 27, 2011 at 15:10 UTC ( #901593=note: print w/replies, xml ) | Need Help?? |
That could work. However, if you say
you are evaluating @results in scalar context and assigning the result of that evaluation to $errorcode - which is not what your want. Just say e.g.
and check $@ for errors, which gets set if your eval'ed code dies.
In Section
Seekers of Perl Wisdom
|
|