Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Getting (famous) error during running perl script

by derby (Abbot)
on Jul 04, 2015 at 10:54 UTC ( #1133142=note: print w/replies, xml ) Need Help??


in reply to Getting (famous) error during running perl script

You concating an uninitialized variable on line 56 ... that's pretty plain. :-)

Maybe an example would help:

#!/usr/bin/env perl use strict; use warnings; my $foo = "foo"; my $bar; # $bar is uninitialized -- it has no value. my $foobar = $foo . $bar;
This could be harmless or devastating ... it really depends on what your code is doing and wether or not you expect/need the variable to have a value or not.

-derby

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1133142]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-12-10 01:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?