From owner-freebsd-questions@FreeBSD.ORG Sun Apr 4 16:45:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EA811065673; Sun, 4 Apr 2010 16:45:32 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 1DA008FC12; Sun, 4 Apr 2010 16:45:31 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so1182781qwe.7 for ; Sun, 04 Apr 2010 09:45:31 -0700 (PDT) MIME-Version: 1.0 Sender: aimass@yabarana.com Received: by 10.229.218.137 with HTTP; Sun, 4 Apr 2010 09:45:30 -0700 (PDT) In-Reply-To: <861vevnsow.fsf@red.stonehenge.com> References: <20100403210610.GA4135@thought.org> <4BB8108A.9080104@FreeBSD.org> <1270371713.5861.98.camel@tao.thought.org> <86aatjnsts.fsf@red.stonehenge.com> <861vevnsow.fsf@red.stonehenge.com> Date: Sun, 4 Apr 2010 12:45:30 -0400 X-Google-Sender-Auth: 7c16067e2df092c4 Received: by 10.229.218.2 with SMTP id ho2mr3247145qcb.51.1270399530597; Sun, 04 Apr 2010 09:45:30 -0700 (PDT) Message-ID: From: Alejandro Imass To: "Randal L. Schwartz" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: glarkin@freebsd.org, kline@thought.org, FreeBSD Mailing List Subject: Re: perl qstn... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2010 16:45:32 -0000 On Sun, Apr 4, 2010 at 11:27 AM, Randal L. Schwartz wrote: >>>>>> "Randal" =3D=3D Randal L Schwartz writes: > > Randal> Even simpler: > > Randal> =A0 =A0 if (@ARGV) { did you mean unless? ;-) > Randal> =A0 =A0 =A0 print "No args\n"; > Randal> =A0 =A0 } else { > Randal> =A0 =A0 =A0 print "arg is $ARGV[0]\n"; > Randal> =A0 =A0 } > > Augh. =A0I hit send just as I realized that's backwards. =A0Need > more caffiene. =A0Swap the true and false blocks there. :) > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 00= 95 > > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussi= on > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >