The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

ExtUtils::Helpers - Various portability utilities for module builders

VERSION

version 0.020

SYNOPSIS

 use ExtUtils::Helpers qw/build_script make_executable split_like_shell/;

 unshift @ARGV, split_like_shell($ENV{PROGRAM_OPTS});
 write_script_to('Build');
 make_executable('Build');

DESCRIPTION

This module provides various portable helper functions for module building modules.

FUNCTIONS

build_script()

This function returns the appropriate name for the Build script on the local platform.

make_executable($filename)

This makes a perl script executable.

split_like_shell($string)

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

detildefy($path)

This function substitutes a tilde at the start of a path with the users homedir in an appropriate manner.

man1_pagename($filename)

Returns the man page filename for a script.

man3_pagename($filename, $basedir)

Returns the man page filename for a Perl library.

manify($input_filename, $output_file, $section, $opts)

Create a manpage for the script in $input_filename as $output_file in section $section

ACKNOWLEDGEMENTS

Olivier Mengué and Christian Walde made make_executable work on Windows.

AUTHORS

  • Ken Williams <kwilliams@cpan.org>

  • Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2004 by Ken Williams, 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.