Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: NET::RawIP problem

by ww (Bishop)
on Feb 28, 2014 at 00:36 UTC ( #1076457=note: print w/replies, xml ) Need Help??


in reply to NET::RawIP problem

I don't know if this repeats advice given previously because a possible source of the problem is glaringly evident: you never chomp the input, $po_alv and your regular expression checks only for a single digit in the var. It could still hold anything else... or nothing else. Either, or both, could produce the message you cite

(And, BTW, put error and/or warning messages, verbatim, inside code tags -- just as you do with code.)


If you didn't program your executable by toggling in binary, it wasn't really programming!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1076457]
help
Chatterbox?
[choroba]: BTW, both the bands I play in performed on Friday (at the same event). Quite an exhausting experience.
[Corion]: choroba: Ooof! I can imagine that ;)
[Corion]: I think at a Perl workshop some years ago I gave two talks on the same day and after that decided to only submit one talk per event ;)
[LanX]: you play the triangle, right?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-03-27 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (319 votes). Check out past polls.