Skip Menu |

This queue is for tickets about the Class-Phrasebook CPAN distribution.

Report information
The Basics
Id: 100799
Status: new
Priority: 0/
Queue: Class-Phrasebook

People
Owner: Nobody in particular
Requestors: Arnaud.David [...] tuskerdirect.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Warning being raised.
Date: Tue, 9 Dec 2014 12:15:05 +0000
To: "'bug-Class-Phrasebook [...] rt.cpan.org'" <bug-Class-Phrasebook [...] rt.cpan.org>
From: Arnaud David <Arnaud.David [...] tuskerdirect.com>
Hi There, The log files are logging many errors such as: Use of uninitialized value $ENV{"PHRASEBOOK_DEBUG_PRINTS"} in lc at /usr/local/share/perl/5.14.2/Class/Phrasebook.pm line 325. I am using Class::Phrasebook v 0.88, which looks like being the up to date version of this module. The perl being used Perl is: $ perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi (with 88 registered patches, see perl -V for more detail) Copyright 1987-2011, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. The server is running: $ uname -a Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux Looking at the code, the offending line is: # the DEBUG_PRINTS is controlled by an environment. my $debug_prints = lc($ENV{PHRASEBOOK_DEBUG_PRINTS}) || ""; Probably something like this would fix it: my $debug_prints = ""; If (defined $ENV{PHRASEBOOK_DEBUG_PRINTS} ) { $debug_prints = lc($ENV{PHRASEBOOK_DEBUG_PRINTS}); } Let me know if you would like me to provide any help, or a patch etc... Many thanks for your time. Arnaud David. [Tusker.] Arnaud David Senior IT Developer IT 0333 400 8436 www.tuskerdirect.com<https://www.tuskerdirect.com/> Facebook<http://www.facebook.com/Tuskerdirect> Twitter<https://twitter.com/#!/@tuskerdirect> LinkedIn<http://www.linkedin.com/company/tuskerdirect> Proud winners of Business of the Year Award 2012 in the Regional Business Excellence Awards, winners of FleetWorld Honours Award 2010 for Innovation and BusinessCar Techie Award for Best Leasing and Contract Hire System in 2010 & 2011. Finalists in the National Business Awards 2013 for innovation. Do you think anyone from Tusker has gone that extra mile to make a real difference to you today? If so, we'd love to hear from you! You can now nominate them for our Employee Recognition award by simply emailing us at feedback@tuskerdirect.com<mailto:feedback@tuskerdirect.com> with your comments. Tuskerdirect Ltd is an Appointed Representative of ITC Compliance Ltd, who are authorised and regulated by the Financial Conduct Authority. Registered in England & Wales number: 03864648. Registered offices: 2 Marlins Meadow, Croxley Green Business Park, Watford, Hertfordshire WD18 8YA

Message body is not shown because it is too large.