2
# Copyright (c) 2005 Nate Wiger <nate@wiger.org>. All Rights Reserved.
3
# Use "perldoc CGI::FormBuilder::Test" to read full documentation.
5
package CGI::FormBuilder::Test;
9
CGI::FormBuilder::Test - Test harness for FormBuilder
13
use CGI::FormBuilder::Test;
17
my $outfile = outfile($test++);
25
our $VERSION = '3.03';
30
our @EXPORT = qw(outfile);
33
use File::Spec::Functions;
36
my($file, $dir) = fileparse($0);
37
$file =~ s/-.*//; # just save "1a-", "3d-", etc
38
my $out = catfile($dir, sprintf("$file-test%2.2d.html", $_[0]));
39
open(O, $out) || warn "Can't open $out: $!\n";
49
$Id: Test.pm,v 1.14 2006/02/24 01:42:29 nwiger Exp $
53
Copyright (c) 2005-2006 Nate Wiger <nate@wiger.org>. All Rights Reserved.
55
This module is free software; you may copy this under the terms of
56
the GNU General Public License, or the Artistic License, copies of
57
which should have accompanied your Perl kit.