in reply to User input from a command line by giving options a,b,c

mgrangeiro:

Is it possible to do that?

Yes.

I started out by ... but that's not exactly what my boss wants.

So perhaps you might describe what your boss wants, rather than having us try to guess?

Perhaps you might try Getopts::Long?

  • Comment on Re: User input from a command line by giving options a,b,c

Replies are listed 'Best First'.
Re^2: User input from a command line by giving options a,b,c
by mgrangeiro (Novice) on Apr 06, 2010 at 19:16 UTC
    I thought I was clear enough that I wanted to write a script with menu options a,b,c, etc. and get the user input from a command line, but obviously I was not. I'll tell you what I did. I displayed a menu with 5 options in vim and prompted for user input. My boss said I should consider using command line so we could run the script from anywhere. Let me know if there is any other info I might be missing. Thanks for your patience. I'm a newbie with perl.