in reply to Re: Using Sub::Override
in thread Using Sub::Override
No. The out function is what actually prints the question to STDOUT. The in function is what reads the answer. $line is a variable inside the test function of Games::QuizTaker. For each question in the test, it loops through an array, putting each element into the $line variable and prints it out.
TStanley
--------
People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf. -- George Orwell
TStanley
--------
People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf. -- George Orwell
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Using Sub::Override
by chromatic (Archbishop) on Jun 19, 2007 at 06:22 UTC |
In Section
Seekers of Perl Wisdom