NAME
Wx::build::Utils - utility routines
SSUUBBRROOUUTTIINNEESS xxssddeeppeennddeenncciieessmy %dependencies = xsdependencies( $mmobject, [ 'dir1', 'dir2' ] );
oobbjjffrroommssrrcc 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. wwrriitteessttrriinngg,, wwrriitteeffiilleewritestring( 'file', $scalar );
writefile( 'file', $scalar );
Like File::Slurp. rreeaaddffiilleemy $string = readfile( 'file' );
lliibbffiillee,, aarrcchhffiillee,, aarrcchhaauuttooffiilleemy $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. ppaatthhsseeaarrcchhmy $file = pathsearch( 'foo.exe' );
Searches PATH for the given executable. ffiilleesswwiitthhccoonnssttaannttss my @files = fileswithconstants; Finds files containing constants ffiilleesswwiitthhoovveerrllooaadd my @files = fileswithoverload; Finds files containing overloaded XS/Perl subroutinesperl v5.8.8 2006-10-17 build::Wx::build::Utils(3)