Thread warnings Pragma (8 answers)
Opened by mika at 2016-12-09 19:00

mika
 2016-12-10 05:21
#185753 #185753
User since
2010-10-02
168 Artikel
BenutzerIn

user image
Hallo Linuxer,

es geht im Grunde um dieses Skript mit LWP::UserAgent

-> Facebook API – Post im eingenen Namen

Dort wirft es mir immer diesen Hinweis:
Quote
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Use of uninitialized value $v in concatenation (.) or string at
/usr/share/perl5/HTTP/Request/Common.pm line 135 (#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.

View full thread warnings Pragma