Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: problem in printing the result in the out put file

by toolic (Bishop)
on Feb 28, 2017 at 16:18 UTC ( [id://1183158]=note: print w/replies, xml ) Need Help??


in reply to problem in printing the result in the out put file

Maybe your input file has unexpected line endings, like \r. Try to get rid of them with:
foreach my $ip (@ip) { $ip =~ s/\s+//;

Tip #3 from the Basic debugging checklist

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found