NAME

Alien::Build::Interpolate - Advanced interpolation engine for Alien builds

VERSION

version 0.64_01

CONSTRUCTOR

new

my $intr = Alien::Build::Interpolate->new;

add_helper

$intr->add_helper($name => $code);
$intr->add_helper($name => $code, %requirements);

replace_helper

$intr->replace_helper($name => $code);
$intr->replace_helper($name => $code, %requirements);

has_helper

my $coderef = $intr->has_helper($name);

Used to discover if a helper exists with the given name. Returns the code reference.

execute_helper

my $value = $intr->execute_helper($name);

interpolate

my $string = $intr->interpolate($template);

requires

my %requires = $intr->requires($template);

clone

my $intr2 = $intr->clone;

AUTHOR

Author: Graham Ollis <plicease@cpan.org>

Contributors:

Diab Jerius (DJERIUS)

Roy Storey

Ilya Pavlov

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.