Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Được sử dụng để thử nghiệm một mô-đun sau khi nó được xây dựng và trước khi nó được cài đặt, khi bạn không muốn (hoặc không thể) chạy làm cho thử nghiệm. Thêm: ExtUtils sử dụng:: testlib, chương trình thử nghiệm của bạn gây ra các thư mục trung gian được sử dụng bằng cách làm cho được thêm vào @ INC, cho phép bạn chạy thử nghiệm. | Chapter 8 8.64 ExtUtils testlib 41 PREVIOUS Chapter 8 Standard Modules NEXT 8.64 ExtUtils testlib Used for testing a module after it s been built and before it s been installed when you don t want to or can t run make test. Adding use ExtUtils testlib to your test program causes the intermediate directories used by make to be added to @INC allowing you to run the test. PREVIOUS HOME NEXT 8.63 ExtUtils Packlist BOOK INDEX 8.65 Fatal Library Home Perl in a Nutshell Learning Perl Learning Perl on Win32 Programming Perl Advanced Perl Programming Perl Cookbook http www.crypto.nc1uw1aoi420d85w1sos.de documents oreilly perl perlnut ch08_64.htm 2 7 2001 10 32 37 PM Chapter 8 8.65 Fatal IN A NUTSHELL 41 PREVIOUS Chapter 8 Standard Modules NEXT 8.65 Fatal Provides a way to replace functions that return false on failure with equivalents that die instead so you can use the functions without having to test the return values explicitly. Fatal reports errors via die you can trap them with SIG __DIE__ if you want to take some action before the program exits. You can use Fatal for both user-defined functions and Perl core operators except exec and system. A import PREVIOUS HOME NEXT 8.64 ExtUtils testlib BOOK INDEX 8.66 Fcntl Library Home Perl in a Nutshell Learning Perl Learning Perl on Win32 Programming Perl Advanced Perl Programming Perl Cookbook http www.crypto.nc1uw1aoi420d85w1sos.de documents oreilly perl perlnut ch08_65.htm 2 7 2001 10 32 38 PM Chapter 8 8.66 Fcntl 41 PREVIOUS Chapter 8 Standard Modules NEXT 8.66 Fcntl A translation of the C fcntl.h program that uses h2xs which builds a Perl extension from a C header file and the C compiler to translate define symbols and make them available as functions. Exports the following routines by default each routine returns the value of the define that is the same as the routine name FD_CLOEXEC F_DUPFD F_GETFD F_GETFL F_GETLK F_RDLCK F_SETFD F_SETFL F_SETLK F_SETLKW F_UNLCK F_WRLCK O_APPEND O_CREAT O_EXCL O_NDELAY O_NOCTTY .