People of the Perl,
thanks for the info....I am familiar with perls subroutines so I will use
these and this name instead of functions. Also, my intention was to avoid
the if , then ,elif, then constructs, mentioned by Dan, for certain
situations which is why I asked about cases so I will read the perldoc.
thanks
Derek B. Smith
OhioHealth IT
UNIX / TSM / EDM Teams
614-566-4145
"Jenda Krynicky" <[EMAIL PROTECTED]>
01/06/2004 05:18 PM
To: [EMAIL PROTECTED]
cc:
Subject: Re: case and functions
From: [EMAIL PROTECTED]
> I read in Learning Perl that there are no such constructs like a case
> statement. Is there something similar or did I misread this?
Ask the FAQ, run
perldoc -q "case statement"
> Also
> what about functions and function calls, do these exits or does the
> subroutines replace these?
Subroutines are both what some languages call procedures and
functions.
Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>