[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Perl: where is the command in system("command -v wget") documented?



Howdy,
On Mon, Oct 08, 2012 at 10:29:42PM +0200, Regid Ichira wrote:
>   I am a perl beginner.  I stambled upon a perl line

A) subscribe to beginners@perl.org.

>     if (system("command -v wget >/dev/null 2>&1") == 0)
>
> I was able to find perl's documentation for system.  But where is
> the documentation for command?
>   Am I right that that line tests whether wget is installed in the
> system?  How does it do that?

B) from the bash command line type: help command

HTH,
Mike
--
Humor is an affirmation of dignity,
a declaration of man's superiority to all that befalls him.
- Romain Gary


Reply to: