Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Use of uninitialized value $i in bitwise and (&) at <Netmask.pm>

by hippo (Bishop)
on Dec 18, 2017 at 09:22 UTC ( [id://1205782]=note: print w/replies, xml ) Need Help??


in reply to Use of uninitialized value $i in bitwise and (&) at <Netmask.pm>

I notice that you are not chomping $row. Perhaps it is those EOL characters which are causing the problem?

Also, you only ever have one element in your @row array, so there is little point in the loop. If I were you, as a general point I would avoid having @row and $row in the same context - as it stands it is too easy for strict to miss a typo. HTH.

Replies are listed 'Best First'.
Re^2: Use of uninitialized value $i in bitwise and (&) at <Netmask.pm>
by dotowwxo (Acolyte) on Dec 19, 2017 at 02:35 UTC
    Hi, I have tried chomping @rows and some different scenarios, however, it stills gives me the same result. Understood, thanks for your advice!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 12:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found