[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-AnyPerl] Re: C++ to Perl Module Examples



> I am wanting to convert a C++ library to a PERL module(s).
> I have "Advanced Perl Programming" which has some examples showing how a
> class can be coded as an object. I was wondering if there are more
> detailed instructions or examples on the www on how to go about this.

First and foremost, start with the built-in docs (but you knew that, 
didn't you?)

"perlobj.pod"  Perl objects
"perltoot.pod" Tom Christiansen's Object-Oriented Perl Tutorial.
"perbot.pod"   Bag'o Object Tricks (the BOT)

Taken together, these are fairly detailed.  Many of the examples in the 
BOT deal with packages, so should be directly applicable.

However, I'd be remiss if I left you with just this.

SO...

http://www.perl.com/reference/query.cgi?oo

Lots of info here.

<http://www.progsoc.uts.edu.au/~geldridg/cpp/#OTL : Perl5>

This page also has OOP stuff for many other languages. Some nice links to 
USENET discussions BWO DejaNews.




--B


# Brian McNett                                      Fungal Parataxonomy
# Webmaster, Staff Writer               Mycology Information (Mycoinfo)
#                              **The World's First Mycology E-Journal**   
# <mailto:webmaster@mycoinfo.com>            <http://www.mycoinfo.com/>
# First they ignore you. Then they laugh at you. Then they fight you.
# Then you win.                                     --Mohandas Gandhi


==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org