> On Thu, 28 Feb 2002, Chris wrote:
>
> > I have been looking in the Learning Perl book, and cannot find it.
>
> There isn't a syntactical element in Perl to do case statements (aka
> switch in C/C++ & Java).  However, they can be done in a variety of ways:

I forgot to add that there is also a FAQ entry for this:

perldoc -q switch

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
It is better to have loved a short man than never to have loved a tall.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to