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, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access