Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Annoying 'Use of uninitialized value in concatenation' warning

by FunkyMonk (Canon)
on Oct 27, 2011 at 15:05 UTC ( #934167=note: print w/replies, xml ) Need Help??


in reply to Re^2: Annoying 'Use of uninitialized value in concatenation' warning
in thread Annoying 'Use of uninitialized value in concatenation' warning

If you use diagnostics perl will tell you which category the warning belongs to. For example, printing an uninitialised variable yields (the category is in bold):
Use of uninitialized value $x in print at
/home/bri/foo.pl line 14 (#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.
Additionally, perldiag lists all of perl's warning and error messages.
  • Comment on Re^3: Annoying 'Use of uninitialized value in concatenation' warning

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://934167]
help
Chatterbox?
[thezip]: G'day all. Apparently Strawberry Perl has issues with deploying Spreadsheet::XLSX for Perl 5.24.1. I need this module to maintain compatability with an existing script. I'm new to Strawberry -- is there a safe way to manually deploy this?

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2017-03-23 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (290 votes). Check out past polls.