On Thu, Apr 07, 2011 at 11:26:10AM -0700, Jim Gibson wrote:
> On 4/7/11 Thu  Apr 7, 2011  10:48 AM, "Balaji krishnan"
> <balaji.r.krish...@gmail.com> scribbled:
> 
> > Hi folks
> > 
> > I have been using shell script for my admin work and recently decided to use
> > perl fo all my automation. So proud I did that.
> > 
> > Quick question:  I have been using "Select" function in shell to present
> > menu to users. Do we have a "select" equivalent in perl? 

Yes we do!

I uploaded a version to CPAN many years ago, which I (for one) use all
the time.

Nowadays the CPAN installation doesn't work on some systems, so I recommend 
installing the module (called Shell::POSIX::Select) from the Debian repository,
from the package called "libshell-posix-select-perl".

Tim
 *----------------------------------------------------------------------*
 |    Tim Maher, PhD  (206) 781-UNIX    http://www.consultix-inc.com    |
 |     tim at ( TeachMePerl, TeachMeLinux, or TeachMeUnix ) dot Com     |
 |    Intermediate Perl: 4/19-4/21  UNIX/Linux Fundamentals: 5/9-5/12   |
 *-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
 |  > "Minimal Perl for UNIX People" has been an Amazon Best Seller! <  |
 |  * Download chapters, read reviews, and order at: MinimalPerl.com *  |
 *----------------------------------------------------------------------*

-- 
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