From kdeugau@vianet.ca Thu Oct 4 13: | 15:05 2012 |
MIME-Version: | 1.0 |
X-Spam-Status: | No, score=-6.121 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham |
X-Spam-Flag: | NO |
Content-Type: | multipart/mixed; boundary="------------010302060700050500000001" |
Message-ID: | <506DC40F.3000702@vianet.ca> |
X-Virus-Scanned: | Debian amavisd-new at bestpractical.com |
Organization: | ViaNet Internet Solutions |
X-Spam-Score: | -6.121 |
Received: | from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id A0E68240887 for <cpan-bug+Frontier-RPC@hipster.bestpractical.com>; Thu, 4 Oct 2012 13:15:05 -0400 (EDT) |
Received: | from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eFozkiZ55DDC for <cpan-bug+Frontier-RPC@hipster.bestpractical.com>; Thu, 4 Oct 2012 13:15:04 -0400 (EDT) |
Received: | from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id B456924087F for <bug-Frontier-RPC@rt.cpan.org>; Thu, 4 Oct 2012 13:15:03 -0400 (EDT) |
Received: | (qmail 24717 invoked by uid 103); 4 Oct 2012 17:15:03 -0000 |
Received: | from x16.dev (10.0.100.26) by x1.dev with QMQP; 4 Oct 2012 17:15:03 -0000 |
Received: | from smtp2.vianet.ca (HELO smtp2.vianet.ca) (209.91.128.19) by 16.mx.develooper.com (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Thu, 04 Oct 2012 10:14:59 -0700 |
Received: | from pod.pem-lan (pem-goatfarm.vianet.ca [209.91.179.158]) (Authenticated sender: kdeugau@vianet.ca) by smtp2.vianet.ca (Postfix) with ESMTPSA id 066F415BC69 for <bug-Frontier-RPC@rt.cpan.org>; Thu, 4 Oct 2012 13:14:56 -0400 (EDT) |
Delivered-To: | cpan-bug+Frontier-RPC@hipster.bestpractical.com |
Subject: | Use of Frontier::RPC in CGI scripts spams error log with "Use of uninitialized value" warnings |
User-Agent: | Mozilla/5.0 (X11; Linux i686 on x86_64; rv:15.0) Gecko/20120909 Firefox/15.0.1 SeaMonkey/2.12.1 |
Return-Path: | <kdeugau@vianet.ca> |
X-RT-Mail-Extension: | frontier-rpc |
X-Original-To: | cpan-bug+Frontier-RPC@hipster.bestpractical.com |
X-Spam-Check-BY: | 16.mx.develooper.com |
Date: | Thu, 04 Oct 2012 13:14:55 -0400 |
X-Spam-Level: | |
To: | bug-Frontier-RPC@rt.cpan.org |
X-Enigmail-Version: | 1.4.4 |
From: | Kris Deugau <kdeugau@vianet.ca> |
Content-Length: | 0 |
content-type: | text/plain; charset="utf-8" |
Content-Transfer-Encoding: | 7bit |
X-RT-Original-Encoding: | ISO-8859-1 |
Content-Length: | 171 |
For each call to _scalar, three warnings are generated if $value is
undefined.
This causes a lot of noise in the webserver error log.
Very trivial patch attached.
-kgd
content-type: | text/plain; charset="UTF-8"; name="rpc-uninitialized.patch" |
content-disposition: | attachment; filename="rpc-uninitialized.patch" |
Content-Transfer-Encoding: | 7bit |
X-RT-Original-Encoding: | utf-8 |
Content-Length: | 373 |
Message body is not shown because sender requested not to inline it.