Alien::Build::Interpolate

Section: User Contributed Perl Documentation (3)
Updated: 2019-04-22
Page Index
 

NAME

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

VERSION

version 1.67  

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

David Mertens (run4flat)

Mark Nunberg (mordy, mnunberg)

Christian Walde (Mithaldu)

Brian Wightman (MidLifeXis)

Zaki Mughal (zmughal)

mohawk (mohawk2, ETJ)

Vikas N Kumar (vikasnkumar)

Flavio Poletti (polettix)

Salvador Fandiño (salva)

Gianni Ceccarelli (dakkar)

Pavel Shaydo (zwon, trinitum)

Kang-min Liu (劉康民, gugod)

Nicholas Shipp (nshp)

Juan Julián Merelo Guervós (JJ)

Joel Berger (JBERGER)

Petr Pisar (ppisar)

Lance Wicks (LANCEW)

Ahmad Fatoum (a3f, ATHREEF)

José Joaquín Atria (JJATRIA)

Duke Leto (LETO)

Shoichi Kaji (SKAJI)

Shawn Laffan (SLAFFAN)

Paul Evans (leonerd, PEVANS)  

COPYRIGHT AND LICENSE

This software is copyright (c) 2011-2019 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.


 

Index

NAME
VERSION
CONSTRUCTOR
new
add_helper
replace_helper
has_helper
execute_helper
interpolate
requires
clone
AUTHOR
COPYRIGHT AND LICENSE