fix codetest failure - ASSERT_ARGS does not have a ; after and
[parrot.git] / t / configure / testlib / inter / theta.pm
blob363c677459b3f6c67de99e62fffd062c9dfe055f
1 # Copyright (C) 2001-2003, Parrot Foundation.
2 # $Id$
4 =head1 NAME
6 t/configure/testlib/inter/theta.pm - Module used in configuration tests
8 =head1 DESCRIPTION
10 Nonsense module used only in testing the configuration system.
12 =cut
14 package inter::theta;
16 use strict;
17 use warnings;
19 use File::Basename qw/basename/;
21 use base qw(Parrot::Configure::Step);
23 use Parrot::Configure::Utils ':inter';
25 sub _init {
26 my $self = shift;
27 my %data;
28 $data{description} = q{Determining if your computer does theta};
29 $data{args} = [ qw( ask theta ) ];
30 $data{result} = q{};
31 return \%data;
34 sub runstep {
35 my ( $self, $conf ) = @_;
37 my $ask = $conf->options->get('ask');
39 my $question = 'Will Perl 6 be out before Christmas?';
40 my $response;
41 if ($ask) {
42 $response = prompt( $question, q{Y/n} );
44 return 1;
49 # Local Variables:
50 # mode: cperl
51 # cperl-indent-level: 4
52 # fill-column: 100
53 # End:
54 # vim: expandtab shiftwidth=4: