Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-GitHub CPAN distribution.

Report information
The Basics
Id: 102347
Status: resolved
Priority: 0/
Queue: Net-GitHub

People
Owner: Nobody in particular
Requestors: SANTA [...] cpan.org
Cc: elifosterwy [...] gmail.com
AdminCc:

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



CC: elifosterwy [...] gmail.com
Subject: Uninitialized value
I have also reported this issue on GitHub at fayland/perl-net-github issue #59. I could be simply calling languages incorrectly, in which case this issue should be changed to "proper docs needed", or something of the like. But, when I call languages, with or without parameters, I get the following warning: Use of uninitialized value $uargs[0] in sprintf at perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1/Net/GitHub/V3/Query.pm line 271 (#1) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl will try to tell you the name of the variable (if any) that was undefined. In some cases it cannot do this, so it also tells you what operation you used the undefined value in. Note, however, that perl optimizes your program and the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program. Uncaught exception from user code: Use of uninitialized value $uargs[0] in sprintf at perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1/Net/GitHub/V3/Query.pm line 271. Net::GitHub::V3::Query::__ANON__() called at main.pl line 22 main::main() called at main.pl line 40 Command terminated with non-zero status. Command [perl main.pl] terminated with exit code 255 ($? = 65280) under the following perl environment: Current perl: Name: perl-5.20.1 Path: perl5/perlbrew/perls/perl-5.20.1/bin/perl Config: -de -Dprefix=perl5/perlbrew/perls/perl-5.20.1 -Aeval:scriptdir=perl5/perlbrew/perls/perl-5.20.1/bin Compiled at: Dec 6 2014 00:08:51 perlbrew: version: 0.71 I have snipped paths and such for my own privacy. The code I am trying to run can be found Here.
Oops. I forgot about that link at the end: https://github.com/elifoster/GHULS/blob/master/src/main.pl