Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Help with Net::OpenSSH::Compat::SSH2

by 7stud (Deacon)
on Mar 15, 2013 at 03:31 UTC ( #1023605=note: print w/replies, xml ) Need Help??


in reply to Help with Net::OpenSSH::Compat::SSH2

On a side note,

use Net::SSH2; eval { require Net::SSH2; }; if ($@) )

Your use statement is equivalent to:

BEGIN { require Net::SSH2; Net::SSH2->import(); }

...which executes at compile time. So your eval() happens after the party is over.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023605]
help
Chatterbox?
[Lady_Aleena]: Cow1337killr, hello. I was off fixing my sources.list and it took my attention away from here.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-02-21 22:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (320 votes). Check out past polls.