List of Code Examples

List of Code Examples
by?Sam Tregar?
Apress ? 2002
has companion web siteCompanion Web Site

Chapter 2: Perl Module Basics

Example 2-1: Overloading Unary Operations in the Even Class

Chapter 4: CPAN Module Distributions

Example 4-1: Counter.pm File Generated by h2xs
Example 4-2: Modified Counter.pm for Data::Counter
Example 4-3: Makefile.PL Generated by h2xs
Example 4-4: Modified Makefile.PL for Data::Counter
Example 4-5: test.pl Generated by h2xs
Example 4-6: Modified test.pl for Data::Counter
Example 4-7: README Generated by h2xs
Example 4-8: Changes File Generated by h2xs
Example 4-9: MANIFEST Generated by h2xs.
Example 4-10: Nonportable count_args.pl
Example 4-11: Portable count_args.pl.PL

Chapter 9: Writing C Modules with XS

Example 9-1: MIME.pm Generated by h2xs -A -n Gnome::MIME
Example 9-2: Makefile.PL Generated by h2xs -A -n Gnome::MIME
Example 9-3: MIME.xs Generated by h2xs -A -n Gnome::MIME
Example 9-4: MIME.xs with First XSUB Added
Example 9-5: C Function Generated by xsubpp for gnome_mime_type() XSUB
Example 9-6: Named-Parameter XSUB
Example 9-7: XSUB Implementing Gnome::MIME::type_data()
Example 9-8: XSUB for Gnome::MIME::type_data() with Multiple-Value Return
Example 9-9: typemap File with GList* Typemap
Example 9-10: GList_to_AVref() Function Included in MIME.xs

Chapter 10: Writing C Modules with Inline::C

Example 10-1: Makefile.PL for Inline::C Version of Gnome::MIME
Example 10-2: MIME.pm with a Single C-Function Wrapper
Example 10-3: Inline Function with Named-Parameter Support
Example 10-4: Inline Function Using Multivalue Return

Chapter 11: CGI Application Modules for CPAN

Example 11-1: BBS.pm, the CGI::Application BBS
Example 11-2: bbs.cgi, the BBS Stub Script
Example 11-3: Message Entry Screen Implemented with CGI.pm
Example 11-4: Message Entry Screen Implemented with HTML::Template
Example 11-5: Message Entry Screen Template File edit.tmpl



Writing Perl Modules for CPAN
Writing Perl Modules for CPAN
ISBN: 159059018X
EAN: 2147483647
Year: 2002
Pages: 110
Authors: Sam Tregar

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net