[Wellington-pm] Looking for an easier, clearer way to ...

Grant McLean grant at mclean.net.nz
Sat Sep 4 23:55:58 CDT 2004


On Sun, 2004-09-05 at 13:23, michael at diaspora.gen.nz wrote:
> >I'm sure there must be an easier, clearer way to do this;
> >
> >my $diskdescr =
> >      `snmpwalk $hostname -c $communityname -Oqs -v1 extOutput`;
> >chomp $diskdescr;
> 
> Backticks always make me nervous.

It certainly pays to be wary, but when used with the -T option
in this type of application then I don't think there's too much
to be worried about.

Grant




More information about the Wellington-pm mailing list