Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: testing functions that prompt user or call external commands

by bichonfrise74 (Vicar)
on Dec 16, 2009 at 06:46 UTC ( #812983=note: print w/replies, xml ) Need Help??


in reply to testing functions that prompt user or call external commands

I think you can use Test::Expect.
  • Comment on Re: testing functions that prompt user or call external commands

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://812983]
help
Chatterbox?
[james28909]: id just rename the subrouties perl what kind of data they are getting. something easy to remember too. like if get_data were returning movies titles, rename get_data to movies or movie_titles or get_movie_titles.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2017-05-24 04:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?