Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Perl script to wait till the command execution completes.

by hippo (Curate)
on Mar 03, 2014 at 09:26 UTC ( #1076759=note: print w/ replies, xml ) Need Help??


in reply to Perl script to wait till the command execution completes.

system() waits until the command completes anyway. If yours isn't it may be because you are not escaping the values passed to it. If any of your variables such as $Login_Password has an unescaped ampersand, for example, you are going to run into problems.

You could fix this, but marto's suggestion of using DBI would be a far better approach in the first place.


Comment on Re: Perl script to wait till the command execution completes.
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-12-26 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls