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)
|