Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by soonix (Abbot)
on Aug 21, 2019 at 13:02 UTC ( #11104813=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        if ($colors[$num] eq $drop[0] or $colors[$num] eq $drop[1]){      
    +   
            splice (@colors, $num, 1);
            $num--;    
        }
        $num++;
    
  2. or download this
        if ($colors[$num] eq $drop[0] or $colors[$num] eq $drop[1]) {
            splice (@colors, $num, 1);
        } else {
            $num++;
        }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2019-12-09 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?