Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: A doubt about invoking perl script through other perl script

by ssandv (Hermit)
on Jun 15, 2010 at 18:22 UTC ( [id://844903]=note: print w/replies, xml ) Need Help??


in reply to A doubt about invoking perl script through other perl script

The output of a command enclosed in backticks (or qx()) is not printed, it's returned. So $result contains the output of your load_data_to_db.pl. If you wanted the output to go to the screen, you need to either print $result or use system() instead of backticks.

If you have some reason other than the lack of output for claiming the command failed, you need to say that. But, as presented, I wouldn't expect that command to output to the terminal.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-26 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found