MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
build::Wx::build::UtilUser Contributed Perl Documentbuild::Wx::build::Utils(3)



NAME
       Wx::build::Utils - utility routines

SUBROUTINES
       # # #

       xsdependencies

         my %dependencies = xsdependencies( $mmobject, [ 'dir1', 'dir2' ] );

       objfromsrc

         my @objfiles = objfromsrc( 'Foo.xs', 'bar.c', 'cpp/bar.cpp' );

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

       writestring

         writestring( 'file', $scalar );

       Convenience function, simply creates a file containing the string.

       libfile,, archfile,, archautofile

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

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

       pathsearch

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

       Searches PATH for the given executable.



perl v5.8.6                       2004-02-28        build::Wx::build::Utils(3)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™