Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 56805 invoked from network); 18 Oct 2004 23:43:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Oct 2004 23:43:18 -0000 Received: (qmail 61645 invoked by uid 500); 18 Oct 2004 23:43:18 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 61528 invoked by uid 500); 18 Oct 2004 23:43:17 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 61505 invoked by uid 99); 18 Oct 2004 23:43:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [217.115.139.48] (HELO www.2bz.de) (217.115.139.48) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 18 Oct 2004 16:43:14 -0700 Received: from laptop.2bz.de (xdsla091.osnanet.de [212.95.101.91]) by www.2bz.de (Postfix) with ESMTP id 0F30A1B44C7 for ; Tue, 19 Oct 2004 01:43:25 +0200 (CEST) From: Boris Zentner To: test-dev@httpd.apache.org Subject: Re: Minor doc fix for Apache::TestRequest Date: Tue, 19 Oct 2004 01:39:49 +0200 User-Agent: KMail/1.6.2 References: <5D1AB366-20FD-11D9-9D34-000D9331B488@2bz.de> <200410181435.28950.bzm@2bz.de> <41744082.7000603@stason.org> In-Reply-To: <41744082.7000603@stason.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200410190139.49552.bzm@2bz.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Am Dienstag 19 Oktober 2004 00:15 schrieb Stas Bekman: > > Ops, sorry. > > > > hard to explain in english, here is a example: > > > > perl -we 'sub have_lwp {} my $redir = have_lwp ? [qw(GET HEAD POST)] : > > 1;' > > % perl -we 'sub have_lwp {}; my $redir = have_lwp ? [qw(GET HEAD POST)] : > 1;' Search pattern not terminated at -e line 1. > > Hmm, I wonder where does it find a search pattern there Perl thinks ? is the start of the ?PATTERN? operator. See perldoc perlop for more on it. I never used it. And I'm amazed too. -- Boris