1build::Wx::build::UtilsU(s3e)r Contributed Perl Documentabtuiiolnd::Wx::build::Utils(3)
2
3
4

NAME

6       Wx::build::Utils - utility routines
7

SUBROUTINES

9   xs_dependencies
10         my %dependencies = xs_dependencies( $mm_object, [ 'dir1', 'dir2' ] );
11
12   obj_from_src
13         my @obj_files = obj_from_src( 'Foo.xs', 'bar.c', 'cpp/bar.cpp' );
14
15       Calculates the object file name from the source file name.  In scalar
16       context returns the first file.
17
18   write_string, write_file
19         write_string( 'file', $scalar );
20         write_file( 'file', $scalar );
21
22       Like File::Slurp.
23
24   read_file
25         my $string = read_file( 'file' );
26
27   lib_file, arch_file, arch_auto_file
28         my $file = lib_file( 'Foo.pm' );          # blib/lib/Foo.pm     on *nix
29         my $file = lib_file( 'Foo/Bar.pm' );      # blib\lib\Foo\Bar.pm on Win32
30         my $file = arch_auto_file( 'My\My.dll' ); # blib\arch\auto\My\My.dll
31
32       All input paths must be relative, output paths may be absolute.
33
34   path_search
35         my $file = path_search( 'foo.exe' );
36
37       Searches PATH for the given executable.
38
39   files_with_constants
40         my @files = files_with_constants;
41
42       Finds files containing constants
43
44   files_with_overload
45         my @files = files_with_overload;
46
47       Finds files containing overloaded XS/Perl subroutines
48
49
50
51perl v5.38.0                      2023-07-21        build::Wx::build::Utils(3)
Impressum