in reply to Re^2: how to handle login failures with Net:::SSH::Perl?
in thread how to handle login failures with Net:::SSH::Perl?
...they require a recompilation each time we encounter an eval block...it is a performance hit.There is no "performance hit" from the eval in your code (at least not nearly as much as you think there is). eval $string has a performance hit, as perl does have to compile the code in $string each time, but not in eval { BLOCK }, because the code in the BLOCK is already compiled. See the eval docs in perlfunc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how to handle login failures with Net:::SSH::Perl?
by jfroebe (Parson) on Sep 21, 2004 at 18:30 UTC |