parrotcode: Utilities for building Parrot | |
Contents | Perl Modules |
lib/Parrot/BuildUtil.pm - Utilities for building Parrot
This package holds two subroutines: parrot_version()
and <slurp_file>.
Neither subroutine is exported and so each must be requested with a fully qualified path.
parrot_version()
$parrot_version = Parrot::BuildUtil::parrot_version();
# $parrot_version is '0.4.11'
@parrot_version = Parrot::BuildUtil::parrot_version();
# @parrot_version is (0, 4, 11)
slurp_file($filename)
Gregor N. Purdy. Revised by James E Keenan.
|