in reply to Interpolating a single quad in an IP address
Hmmmm this sounds like homework. We don't give out answers and tend to help those who help themselves
What you need to do is to first open the file. Look to open on what to do with that. Also, make use of die for error control and termination.
Then you need a loop. I would use foreach
Don't forget to make use of "use strict" and "use warnings" as they will help you debug stuff
These hints should get you going. Good luck.
|
|---|