Chapter Eleven. Creating .NET Components: Pure Perl Types

We have used PerlNET to create monolithic applications that use standard .NET classes and types. In this chapter, we create our own components so that different applications written in any .NET-compliant language may reuse them. We learn component development from the simple class created in C#, then referenced and used in our PerlNET program exactly as any other standard .NET class. Then, we explain how to implement class functionality in PerlNET, using most of the knowledge acquired in Chapter 7. We explain how to define methods and properties for Perl packages so that every .NET program may access them. Finally, we show how to make existing Perl modules (e.g., from CPAN) available ...

Get Programming PERL in the .NET Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.