From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

ExtUtils::Builder::Util - Utility functions for ExtUtils::Builder

VERSION

version 0.015

DESCRIPTION

This is a module containing some helper functions for ExtUtils::Builder.

FUNCTIONS

function(%arguments)

This is a shorthand for calling ExtUtils::Builder::Action::Function's contructor.

command(%arguments)

This is a shorthand for calling ExtUtils::Builder::Action::Code's contructor.

code(@command)

This is a shorthand for calling ExtUtils::Builder::Action::Code's contructor, with @command passed as its command argument.

glob_to_regex($glob)

This translates a unix glob expression (e.g. *.txt) to a regex.

unix_to_native_path($path)

This converts a unix path to a native path.

native_to_unix_path($path)

This converts a native path to a unix path.

get_perl(%options)

This function takes a hash with various (optional) keys:

require_module($module)

Dynamically require a module.

AUTHOR

Leon Timmermans <fawaka@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Leon Timmermans.

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