MESSAGE
DATE | 2004-11-20 |
FROM | Billy
|
SUBJECT | Re: [hangout] Perl vs. PHP
|
From owner-hangouts-destenys-at-mrbrklyn.com Sat Nov 20 20:57:00 2004 X-UIDL: W(="!2"^"!dS2"!2>M"! Received: from www2.mrbrklyn.com (localhost [127.0.0.1]) by mrbrklyn.com (8.12.11/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id iAL1v0Ju002391 for ; Sat, 20 Nov 2004 20:57:00 -0500 Received: (from mdom-at-localhost) by www2.mrbrklyn.com (8.12.11/8.12.3/Submit) id iAL1uxxX002390 for hangouts-destenys; Sat, 20 Nov 2004 20:56:59 -0500 X-Authentication-Warning: www2.mrbrklyn.com: mdom set sender to owner-hangouts-at-www2.mrbrklyn.com using -f Received: from mail.dadadada.net (MAIL.DADADADA.NET [209.48.2.106]) by mrbrklyn.com (8.12.11/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id iAL1ux02002385 for ; Sat, 20 Nov 2004 20:56:59 -0500 Received: from 24-90-83-25.nyc.rr.com ([24.90.83.25] helo=[192.168.3.102]) by mail.dadadada.net with esmtp (Exim 3.35 #1 (Debian)) id 1CVh0p-0001AZ-00 for ; Sat, 20 Nov 2004 20:59:35 -0500 Message-ID: <419FF5C4.9060100-at-dadadada.net> Date: Sat, 20 Nov 2004 20:56:20 -0500 From: Billy User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: hangout-at-nylxs.com Subject: Re: [hangout] Perl vs. PHP References: <200411192324.13032.sderrick-at-optonline.net> <20041120002945.GA11386-at-www2.mrbrklyn.com> <20041120120315.M12445-at-mrbrklyn.com> <20041120202757.A7940-at-bsd1.nyct.net> In-Reply-To: <20041120202757.A7940-at-bsd1.nyct.net> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-hangouts-at-mrbrklyn.com Precedence: bulk Reply-To: Billy List: New Yorker GNU Linux Scene Admin: To unsubscribe send unsubscribe name-at-domian.com in the body to hangout-request-at-www2.mrbrklyn.com X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on www2.mrbrklyn.com X-Spam-Status: No, score=-2.6 required=4.0 tests=BAYES_00 autolearn=ham version=3.0.0 X-Spam-Level: X-Keywords: X-UID: 39258 Status: RO Content-Length: 789 Lines: 28
Contrarian wrote:
> > On another forum, one person laments that he/she started >to learn Perl and not PHP. I suspect that he/she picked the >right language, but I know really nothing about PHP. > > The immediate context was the (current) lack of a >case/switch construct in Perl... about which I never understood >why it is such a big deal. > > That's my least favorite Perl feature. They give you this as a consolation prize:
for($var){ /foo/ and do { stuff; last }; /bar/ and do { barstuff; last }; /bat/ and do { batstuff; last }; /baz/ and do { bazstuff; last }; do { defaultstuff; last }; } ____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|