for the example perl script below is there a way to avoid errors from showing up in stdout if the shell script being called does not exist? The shell script being called is not in the same directory as the perl script, but is in the path. Otherwise I would just do a check to see if it exist before calling it. redirecting the output to /dev/null doesn't seem to work.
#!/usr/bin/perl `sm_timeline.sh $0 "socket usage" 2>/dev/null`; print "hello\n"; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
