Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-09-16 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (51 votes), past polls