[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] testing



On Wed, Dec 15, 1999 at 09:22:27AM -0600, Ken Williams wrote:
> Arved_37@chebucto.ns.ca (Arved Sandstrom) wrote:
> >If the processing depends on the value, then you'd likely want to convert
> >your test to a Perl "switch" construct - less concise but gets the job
> >done.
> 
> And what "switch" construct is that?  There is none in Perl.  
> 
> http://www.perl.com/pub/doc/manual/html/pod/perlfaq7.html#How_do_I_create_a_switch_or_case
> http://www.perl.com/pub/doc/manual/html/pod/perlsyn.html#Basic_BLOCKs_and_Switch_Statemen
> 
> These URLs give some switch equivalents.
> 

Presumably, that's why he put quotes around switch.

Ronald

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org