Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Using Sub::Override

by TStanley (Canon)
on Jun 18, 2007 at 23:06 UTC ( [id://621886]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Test::More tests=>1;
    use Games::QuizTaker;
    ...
    my $OUT=$GQ->test;
    
    like($OUT,qr/$expected/);
    
  2. or download this
    tstanley@perlmonk ~/modules/Games-QuizTaker $ make test
    PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "t
    +est_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    ...
    Files=5, Tests=15,  2 wallclock secs ( 0.46 cusr +  0.04 csys =  0.50 
    +CPU)
    Failed 1/5 test programs. 1/15 subtests failed.
    make: *** [test_dynamic] Error 255
    
  3. or download this
    sub test{
        my $self=shift;
    ...
          $answer=Games::QuizTaker::IO::in; 
          chomp($answer);
          $answer=uc($answer);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found