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

Re: [MacPerl] testing



At 09.22 -0600 1999.12.15, 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.

That is why he put it in quotes.  :)


>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_S
>witch_Statemen
>
>These URLs give some switch equivalents.

Yep.

-- 
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

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