Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: One liner to test existance of a file

by kamal (Sexton)
on Jul 14, 2010 at 20:22 UTC ( #849623=note: print w/ replies, xml ) Need Help??


in reply to Re: One liner to test existance of a file
in thread One liner to test existance of a file

This part of the code is inside an infinite loop to test if the remote linux host has booted or not. I am using Net::SSH::Expect hence you see $ssh->exec(); i am retrofitting this into an existing system. which has stopped working. so there are things like running a command on the remote system to populate $stat that i have to live with. I will try your suggestions, Thank you so much. I really appreciate it.


Comment on Re^2: One liner to test existance of a file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://849623]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (18)
As of 2015-07-07 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (89 votes), past polls