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]

Reply via email to