Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Problems with open

by amphiplex (Monk)
on Jul 24, 2002 at 12:05 UTC ( [id://184907]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: Problems with open
in thread Problems with open

You could use Shell:
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"; } }
Update: sorry, sorry, this is wrong, I haven't really looked at the output of the script.

---- amphiplex

Replies are listed 'Best First'.
Re: Re: Re: Re: Problems with open
by skerr1 (Sexton) on Jul 24, 2002 at 12:13 UTC
    This is better. Still I won't be able to check to see if the command executed properly, but you solved the problem I asked for and I appreciate that.

    Thanks!

    -Shannon

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://184907]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.