GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WX::BUILD::UTILS (3)

.ds Aq ’

NAME

Wx::build::Utils - utility routines

CONTENTS

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 BUILD::WX::BUILD::UTILS (3) 2014-03-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.