NAME

Parrot::Test::Util - utilities for Parrot tests

SYNOPSIS

use Parrot::Test::Util 'create_tempfile';

my ($FOO, $temp_pir) = create_tempfile( SUFFIX => '.pir', UNLINK => 1 );

DESCRIPTION

This module provides basic utilities for Parrot test scripts. So far, there's only one utility, create_tempfile, which must be requested for import.

AUTHOR

Written by Jerry Gay.

Functions

create_tempfile

Creates a tempfile using File::Temp::tempfile, passing parameters through. Returns a Perl-friendly path using forward-slashes, rather than a platform- specific path that may contain unescaped backslashes which may be interpreted as (likely invalid) unicode escape codes.