in reply to Re: Re: Problems with open
in thread Problems with open
Update: sorry, sorry, this is wrong, I haven't really looked at the output of the script.use Shell; my $sh = Shell->new; my @commands = qw (ls garbage rm); for (@commands) { if ($sh->can($_)) { print "command $_ is available\n"; } else { print "command $_ is NOT available\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Problems with open
by skerr1 (Sexton) on Jul 24, 2002 at 16:13 UTC |