ExtUtils::Helpers(3)

🌸 NAME 🌸

okay so bestie, this is the ExtUtils::Helpers(3) page (it's chillin' in the User Contributed Perl Documentation section), and it's all about ExtUtils::Helpers β€” various portability utilities for module builders. it's giving tiny-utility-belt energy, fr fr. πŸ’–

πŸ‘‘ VERSION πŸ‘‘

version 0.028 β€” that's the version, periodt. ✨

✨ SYNOPSIS ✨

use ExtUtils::Helpers qw/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. lowkey iconic. πŸ’…

πŸŽ€ FUNCTIONS πŸŽ€

πŸ’« make_executable($filename)

This makes a perl script executable. yes bestie, that's the whole job. ✨

🌈 split_like_shell($string)

This function splits a string the same way as the local platform does. platform behavior, no cap. 🫢

🐚 detildefy($path)

This function substitutes a tilde at the start of a path with the user's homedir in an appropriate manner. tilde goes in, homedir comes out, iykyk. 🌸

πŸ“œ man1_pagename($filename, $ext = $Config{man1ext})

Returns the man page filename for a script. that's it, that's the mission. πŸŽ€

πŸ“š man3_pagename($filename, $basedir = 'lib', $ext = $Config{man3ext})

Returns the man page filename for a Perl library. library man-page naming, slay. πŸ’œ

πŸ™Œ ACKNOWLEDGEMENTS πŸ™Œ

Olivier MenguΓ© and Christian Walde made make_executable work on Windows. iconic behavior, honestly. πŸ‘‘

✍️ AUTHORS ✍️

  • Ken Williams β€” <kwilliams@cpan.org>
  • Leon Timmermans β€” <leont@cpan.org>

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.


mwah πŸ’‹ β€” this page came from perl v5.42.0, dated 2024-09-03, and it's the ExtUtils::Helpers(3) page. bye bestie! 🫢✨

πŸ“¦ where this page comes from