On Sat, 29 Oct 2011 23:24:10 +0200, Sime Ramov wrote:

> * Shlomi Fish <shlo...@shlomifish.org> [2011-10-29T19:03+0200]:
>> Since you're not interested in the output of the pkg_add command, you
>> should do:
>>
>> system("pkg_add", $_);
> 
> Actually, I am. I want to be able to interface with the program. E.g. if
> there are multiple flavors for some package, `pkg_add` might prompt me
> which one to install.

system() will still let *you* interface with pkg_add.  Do you want your 
program to be able to interface with pkg_add instead?

-- 
Peter Scott
http://www.perlmedic.com/     http://www.perldebugged.com/
http://www.informit.com/store/product.aspx?isbn=0137001274
http://www.oreillyschool.com/certificates/perl-programming.php

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to