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

Re: [MacPerl] testing



Oops, just ignore my previous post. I haven't had my coffee yet this 
morning.

Elton

=========================================================================
NOVA Private Industry Council                 505 W. Olive Ave. Suite 550
Elton Hughes (Information Technology)                  Sunnyvale CA 94086
Phone: 408-730-7235                                     Fax: 408-730-7643
-------------------------------------------------------------------------



----------
>From: Ken Williams <ken@forum.swarthmore.edu>
>To: Arved Sandstrom <Arved_37@chebucto.ns.ca>
>Cc: "Nicholas G. Thornton" <Nicholas.G.Thornton@directory.reed.edu>,
macperl@macperl.org
>Subject: Re: [MacPerl] testing
>Date: Wed, Dec 15, 1999, 7:22 AM
>

> 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_Sw
itch_Stat
> emen
>
> These URLs give some switch equivalents.
>
>   -------------------                            -------------------
>   Ken Williams                             Last Bastion of Euclidity
>   ken@forum.swarthmore.edu                            The Math Forum
>
>
>
> # ===== Want to unsubscribe from this list?
> # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org
> 

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