logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Leon Timmermans <fawaka@gmail.com>

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.

Name

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

Version

       version 0.017

See Also