Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Writing to command line when prompted

by robobunny (Friar)
on Jun 28, 2002 at 14:40 UTC ( [id://178021]=note: print w/replies, xml ) Need Help??


in reply to Writing to command line when prompted

since you created the first program, is there a reason you can't modify it to optionally take its arguments on the command line, and only prompt for them if they are not supplied in ARGV? then you can easily call it without doing any extra work, but you still get the prompt if you run it manually.
  • Comment on Re: Writing to command line when prompted

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-26 05:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found