Manpage logo

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

NAME  VERSION  DESCRIPTION  FUNCTIONS  function(%arguments)  command(%arguments)  code(@command)  glob_to_regex($glob)  unix_to_native_path($path)  native_to_unix_path($path)  get_perl(%options)  require_module($module)  split_like_shell($string)  AUTHOR  COPYRIGHT AND LICENSE 

NAME

ExtUtils::Builder::Util − Utility functions for ExtUtils::Builder

VERSION

version 0.018

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:

config

An ExtUtils::Config (compatible) object.

require_module($module)

Dynamically require a module.

split_like_shell($string)

This function splits a string the same way as the local platform does.

AUTHOR

Leon Timmermans <[email protected]>

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.


Updated 2026-06-01 - jenkler.se | uex.se