Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Ask user to enter IP address repitatively for entities like Netmask, Gateway, DNS, bonds etc till correct address entered

by BillKSmith (Monsignor)
on Nov 28, 2014 at 22:05 UTC ( [id://1108670]=note: print w/replies, xml ) Need Help??


in reply to Ask user to enter IP address repitatively for entities like Netmask, Gateway, DNS, bonds etc till correct address entered

It probably is to late now, but you should at least consider a module such as IO::Prompt::Hooked. It does all the looping for you. All you provide is the messages and a callback to validate the response.
Bill
  • Comment on Re: Ask user to enter IP address repitatively for entities like Netmask, Gateway, DNS, bonds etc till correct address entered

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1108670]
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-24 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found