Skip to content

Commit

Permalink
Document the fix_shebang_line() method
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@10807 50811bd7-b8ce-0310-adc1-d9db26280581
  • Loading branch information
kenahoo committed Feb 20, 2008
1 parent cad0d4f commit 650e4e5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Changes
@@ -1,5 +1,7 @@
Revision history for Perl extension Module::Build.

- Documented the fix_shebang_line() method. [Elliot Shank]

- Applied the 'const' modifier to version() and xs_version() XS
functions we use during testing. [Robin Barker]

Expand Down
13 changes: 13 additions & 0 deletions lib/Module/Build/API.pod
Expand Up @@ -1175,6 +1175,19 @@ The C<feature()> and C<config_data()> methods represent
Module::Build's main support for configuration of installed modules.
See also L<Module::Build::Authoring/"SAVING CONFIGURATION INFORMATION">.

=item fix_shebang_line(@files)

[version 0.??]

Modify any "shebang" line in the specified files to use the path to the
perl executable being used for the current build. Files are modified
in-place. The existing shebang line must have a command that contains
"C<perl>"; arguments to the command do not count. In particular, this
means that the use of C<#!/usr/bin/env perl> will not be changed.

For an explanation of shebang lines, see
L<http://en.wikipedia.org/wiki/Shebang_%28Unix%29>.

=item have_c_compiler()

[version 0.21]
Expand Down

0 comments on commit 650e4e5

Please sign in to comment.