Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 ( #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
Node Status?
node history
Node Type: note [id://11104624]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2019-11-22 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (110 votes). Check out past polls.

    Notices?