Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: The error says the value is uninitialized, but it works anyway

by mizducky (Novice)
on Aug 18, 2019 at 00:14 UTC ( [id://11104624]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    my @colors = qw(red green blue yellow pink purple brown);
    ...
        }
    }
    print "@colors \n";
    
  2. or download this
    7
    0
    ...
    Use of uninitialized value within @colors in concatenation (.) or stri
    +ng at C:\Users\..ch7q4.pl line 15.
     was not dropped from the array
    red green blue yellow purple
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-23 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found