ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



build::Wx::build::Utils(3)           User Contributed Perl Documentation          build::Wx::build::Utils(3)



NAME
       Wx::build::Utils - utility routines

SUBROUTINES
       xs_dependencies

         my %dependencies = xs_dependencies( $mm_object, [ 'dir1', 'dir2' ] );

       obj_from_src

         my @obj_files = obj_from_src( 'Foo.xs', 'bar.c', 'cpp/bar.cpp' );

       Calculates the object file name from the source file name.  In scalar context returns the first file.

       write_string, write_file

         write_string( 'file', $scalar );
         write_file( 'file', $scalar );

       Like File::Slurp.

       read_file

         my $string = read_file( 'file' );

       lib_file, arch_file, arch_auto_file

         my $file = lib_file( 'Foo.pm' );          # blib/lib/Foo.pm     on *nix
         my $file = lib_file( 'Foo/Bar.pm' );      # blib\lib\Foo\Bar.pm on Win32
         my $file = arch_auto_file( 'My\My.dll' ); # blib\arch\auto\My\My.dll

       All input paths must be relative, output paths may be absolute.

       path_search

         my $file = path_search( 'foo.exe' );

       Searches PATH for the given executable.

       files_with_constants

         my @files = files_with_constants;

       Finds files containing constants

       files_with_overload

         my @files = files_with_overload;

       Finds files containing overloaded XS/Perl subroutines



perl v5.8.8                                      2006-10-17                       build::Wx::build::Utils(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.