in reply to Re^3: Integrating shell cmd to perl script
in thread Integrating shell cmd to perl script
Just tried this. I created a separate shell script for snmp polling and called this shell script in the actual perl script as you suggested.
my $pid= open( my $fh, '<path>/snmp.pl |' );
But, after executing this am not getting the control back to the perl script. Should i use "&" after snmp.pl?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Integrating shell cmd to perl script
by Corion (Patriarch) on Mar 25, 2015 at 09:39 UTC | |
|
Re^5: Integrating shell cmd to perl script
by anonymized user 468275 (Curate) on Mar 25, 2015 at 18:49 UTC |