Forgot to send to the list...
-----Original Message-----
From: Schooley, Chris
Sent: Tuesday, August 14, 2001 10:53 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Command line interface
Sorry, I should clarify - the program itself is like shell, has its own
commands, etc. It is intended to simulate the command line interface found
on various Cisco devices.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 10:47 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Command line interface
Use GetOpt::Long or GetOpt::Std modules for processing command-line options.
- Rex
-----Original Message-----
From: Schooley, Chris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 1:47 PM
To: '[EMAIL PROTECTED]'
Subject: Command line interface
I am working on a program that has users enter commands in a command line
interface. Is a giant switch / case statement the only way to structure a
program like this? There will probably be several hundred commands, some
with several arguments.
Thanks,
Chris Schooley
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]