{"id":6930,"date":"2022-12-20T19:34:22","date_gmt":"2022-12-20T22:34:22","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/modulebuildplatformvms-man3\/"},"modified":"2022-12-20T19:34:22","modified_gmt":"2022-12-20T22:34:22","slug":"modulebuildplatformvms-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/modulebuildplatformvms-man3\/","title":{"rendered":"Module::Build::Platform::VMS (man3)"},"content":{"rendered":"<h1 align=\"center\">Module::Build::Platform::VMS<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Module::Build::Platform::VMS \u2212 Builder class for VMS platforms<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This module inherits from &#8220;Module::Build::Base&#8221; and alters a few minor details of its functionality. Please see Module::Build for the general docs.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Overridden Methods<\/b> <br \/> _set_defaults<\/p>\n<p style=\"margin-left:17%;\">Change $self\u2212>{build_script} to \u2019Build.com\u2019 so @Build works.<\/p>\n<p style=\"margin-left:11%;\">cull_args<\/p>\n<p style=\"margin-left:17%;\">\u2019@Build foo\u2019 on <small>VMS<\/small> will not preserve the case of \u2019foo\u2019. Rather than forcing people to write \u2019@Build &#8220;foo&#8221;\u2019 we\u2019ll dispatch case-insensitively.<\/p>\n<p style=\"margin-left:11%;\">manpage_separator<\/p>\n<p style=\"margin-left:17%;\">Use \u2019__\u2019 instead of \u2019::\u2019.<\/p>\n<p style=\"margin-left:11%;\">prefixify<\/p>\n<p style=\"margin-left:17%;\">Prefixify taking into account <small>VMS<\/small> \u2019 filepath syntax.<\/p>\n<p style=\"margin-left:11%;\">_quote_args<\/p>\n<p style=\"margin-left:17%;\">Command-line arguments (but not the command itself) must be quoted to ensure case preservation.<\/p>\n<p style=\"margin-left:11%;\">have_forkpipe<\/p>\n<p style=\"margin-left:17%;\">There is no native <b>fork()<\/b>, so some constructs depending on it are not available.<\/p>\n<p style=\"margin-left:11%;\">_backticks<\/p>\n<p style=\"margin-left:17%;\">Override to ensure that we quote the arguments but not the command.<\/p>\n<p style=\"margin-left:11%;\">find_command<\/p>\n<p style=\"margin-left:17%;\">Local an executable program<\/p>\n<p style=\"margin-left:11%;\">_maybe_command (override)<\/p>\n<p style=\"margin-left:17%;\">Follows <small>VMS<\/small> naming conventions for executable files. If the name passed in doesn\u2019t exactly match an executable file, appends <i>.Exe<\/i> (or equivalent) to check for executable image, and <i>.Com<\/i> to check for <small>DCL<\/small> procedure. If this fails, checks directories in <small>DCL$PATH<\/small> and finally <i>Sys$System:<\/i> for an executable file having the name specified, with or without the <i>.Exe<\/i>\u2212equivalent suffix.<\/p>\n<p style=\"margin-left:11%;\">do_system<\/p>\n<p style=\"margin-left:17%;\">Override to ensure that we quote the arguments but not the command.<\/p>\n<p style=\"margin-left:11%;\">oneliner<\/p>\n<p style=\"margin-left:17%;\">Override to ensure that we do not quote the command.<\/p>\n<p style=\"margin-left:11%;\">rscan_dir<\/p>\n<p style=\"margin-left:17%;\">Inherit the standard version but remove dots at end of name. If the extended character set is in effect, do not remove dots from filenames with Unix path delimiters.<\/p>\n<p style=\"margin-left:11%;\">dist_dir<\/p>\n<p style=\"margin-left:17%;\">Inherit the standard version but replace embedded dots with underscores because a dot is the directory delimiter on <small>VMS.<\/small><\/p>\n<p style=\"margin-left:11%;\">man3page_name<\/p>\n<p style=\"margin-left:17%;\">Inherit the standard version but chop the extra manpage delimiter off the front if there is one. The <small>VMS<\/small> version of splitdir(\u2019[.foo]\u2019) returns \u2019\u2019, \u2019foo\u2019.<\/p>\n<p style=\"margin-left:11%;\">expand_test_dir<\/p>\n<p style=\"margin-left:17%;\">Inherit the standard version but relativize the paths as the native <b>glob()<\/b> doesn\u2019t do that for us.<\/p>\n<p style=\"margin-left:11%;\">_detildefy<\/p>\n<p style=\"margin-left:17%;\">The home-grown <b>glob()<\/b> does not currently handle tildes, so provide limited support here. Expect only <small>UNIX<\/small> format file specifications for now.<\/p>\n<p style=\"margin-left:11%;\">find_perl_interpreter<\/p>\n<p style=\"margin-left:17%;\">On <small>VMS,<\/small> $^X returns the fully qualified absolute path including version number. It\u2019s logically impossible to improve on it for getting the perl we\u2019re currently running, and attempting to manipulate it is usually lossy.<\/p>\n<p style=\"margin-left:11%;\">localize_file_path<\/p>\n<p style=\"margin-left:17%;\">Convert the file path to the local syntax<\/p>\n<p style=\"margin-left:11%;\">localize_dir_path<\/p>\n<p style=\"margin-left:17%;\">Convert the directory path to the local syntax<\/p>\n<p style=\"margin-left:11%;\">ACTION_clean<\/p>\n<p style=\"margin-left:17%;\">The home-grown <b>glob()<\/b> expands a bit too aggressively when given a bare name, so default in a zero-length extension.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Michael G Schwern <schwern@pobox.com> Ken Williams <kwilliams@cpan.org> Craig A. Berry <craigberry@mac.com><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>perl<\/b>(1), <b>Module::Build<\/b>(3), <b>ExtUtils::MakeMaker<\/b>(3)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  Module::Build::Platform::VMS \u2212 Builder class for VMS platforms <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3007,3286],"class_list":["post-6930","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-modulebuildplatformvms"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6930"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6930\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}