Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Writing to command line when promptedby robobunny (Friar) |
on Jun 28, 2002 at 14:40 UTC ( [id://178021]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|