Um, why?
Oh I see, Installing wxPerl 0.9923 with wxWidgets 3.0.1 on Unbuntu 14.04LTS 64bit
cpan will prompt, it usually doesn't prompt on STDERR (i think)
So, tell cpan and family not to prompt you
apt-get probably also has options not to prompt
Or better still, update wxPerl-Installer.sh so it duplicates/tees STDOUT/STDERR to a logfile so the user doesn't have to type extra stuff
My copy/paste from Re: One liner to config cpan to install all dependencies automatically along with temp modules?
- ?node_id=3989;HIT=cpan%20prompt;re=N
- How to install module with CPANPLUS without prompting?
- Getting CPAN.pm to accept Makefile.PL prompts
- How to skip the prompt fot configuring CPAN.
export PERL_MM_USE_DEFAULT=1
export PERL5LIB=/home/user/stuff/lib/perl5
export PERL_MB_OPT=--install_base /home/user/stuff
export PERL_MM_OPT=INSTALL_BASE=/home/user/stuff
cpan -fi Module Module Module Module Module Module
- App::cpanminus/cpanm
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.