Wrapping Existing Perl Modules
One of the most powerful features of PerlNET is the ability to make the existing Perl packages available to the .NET environment. This feature may be applied to Perl modules that were downloaded from CPAN or to any others. Whenever you decide to provide Perl module functionality to .NET, you should create a .NET component using PerlNET that will expose its class interface. This interface should define all the functionality that you wish to be available to .NET applications. Actually, this way we create a wrapper class for the Perl module. The role of this class is to readdress .NET calls to the corresponding module subroutines.
There are two major types of modules:
Library of subroutines
Classes
By library of subroutines, ...
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.