Parrot::Test::Util - utilities for Parrot tests
use Parrot::Test::Util 'create_tempfile'; my ($FOO, $temp_pir) = create_tempfile( SUFFIX => '.pir', UNLINK => 1 );
This module provides basic utilities for Parrot test scripts. So far, there's only one utility,
create_tempfile, which must be requested for import.
Written by Jerry Gay.
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.