fix codetest failure - ASSERT_ARGS does not have a ; after and
[parrot.git] / t / configure / testlib / Make_VERSION_File.pm
blob55ab14f24e46a08c146543c7aca7cadd27c0ffaa
1 # Copyright (C) 2007, Parrot Foundation.
2 # $Id$
4 package Make_VERSION_File;
6 use strict;
7 use warnings;
9 our (@ISA, @EXPORT_OK);
11 @ISA = qw( Exporter );
12 @EXPORT_OK = qw( make_VERSION_file );
14 sub make_VERSION_file {
15 my $v = shift;
17 my $vfile = 'VERSION';
18 open my $FH, '>', $vfile
19 or die "Unable to open $vfile for writing: $!";
20 print $FH $v;
21 close $FH or die "Unable to close $vfile after writing: $!";
26 =head1 NAME
28 t/configure/testlib/Make_VERSION_File.pm - Subroutines used in testing C<Parrot::Build::Util::parrot_version()>
30 =head1 DESCRIPTION
32 Use only in test scripts.
34 =head1 AUTHOR
36 James E Keenan
38 =cut
40 # Local Variables:
41 # mode: cperl
42 # cperl-indent-level: 4
43 # fill-column: 100
44 # End:
45 # vim: expandtab shiftwidth=4: