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?
In reply to Re^4: Integrating shell cmd to perl script
by Anonymous Monk
in thread Integrating shell cmd to perl script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |