Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Getting (famous) error during running perl script

by derby (Abbot)
on Jul 04, 2015 at 10:54 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-16 10:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found