Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: SNMP MIB files...

by freddo411 (Chaplain)
on Oct 03, 2003 at 18:01 UTC ( #296347=note: print w/replies, xml ) Need Help??


in reply to SNMP MIB files...

Sounds like you have a reasonable approach:

* Look for a value in an ENV var
* Look for existing dirs that make sense
* Prompt to create things if the above doesn't workout

When you prompt to create the needed dir, you might want to display a reasonable default and wait for the user to hit return. This is an often seen pattern that is great because it:

* demonstrates to the user what is happening
* Allows things to be stop/changed by the user
* And "does the right thing" if the user just accepts the defaults

Cheers

-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2021-01-20 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?