At 11:24 PM +0200 10/29/11, 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.
Then you should look at the Expect.pm Perl module.
--
Jim Gibson
j...@gibson.org
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/