1 # Copyright (C) 2007, Parrot Foundation.
4 package Make_VERSION_File
;
9 our (@ISA, @EXPORT_OK);
11 @ISA = qw( Exporter );
12 @EXPORT_OK = qw( make_VERSION_file );
14 sub make_VERSION_file
{
17 my $vfile = 'VERSION';
18 open my $FH, '>', $vfile
19 or die "Unable to open $vfile for writing: $!";
21 close $FH or die "Unable to close $vfile after writing: $!";
28 t/configure/testlib/Make_VERSION_File.pm - Subroutines used in testing C<Parrot::Build::Util::parrot_version()>
32 Use only in test scripts.
42 # cperl-indent-level: 4
45 # vim: expandtab shiftwidth=4: