RE: Perl equivelant of C's switch function

2002-11-27 Thread Toby Stuart
> -Original Message- > From: Mohammed Khatib [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 28, 2002 3:47 PM > To: Perl > Subject: Perl equivelant of C's switch function > > Hi Everyone, > > I'm looking for a function in P

Perl equivelant of C's switch function

2002-11-27 Thread Mohammed Khatib
Hi Everyone, I'm looking for a function in Perl that is equivelant to C's "switch" function, where multiple conditionals (sort of like multiple "elsif" statements, only more compact and neater) can be set out and action taken on each chosen option. Does anyone know of such a function in Perl? Th