Perl in a Nutshell phần 6

Đượ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 ExtUtils testlib 41 PREVIOUS Chapter 8 Standard Modules NEXT 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 ExtUtils Packlist BOOK INDEX Fatal Library Home Perl in a Nutshell Learning Perl Learning Perl on Win32 Programming Perl Advanced Perl Programming Perl Cookbook http documents oreilly perl perlnut 2 7 2001 10 32 37 PM Chapter 8 Fatal IN A NUTSHELL 41 PREVIOUS Chapter 8 Standard Modules NEXT 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 ExtUtils testlib BOOK INDEX Fcntl Library Home Perl in a Nutshell Learning Perl Learning Perl on Win32 Programming Perl Advanced Perl Programming Perl Cookbook http documents oreilly perl perlnut 2 7 2001 10 32 38 PM Chapter 8 Fcntl 41 PREVIOUS Chapter 8 Standard Modules NEXT Fcntl A translation of the C 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 .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
4    102    2    01-07-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.