Skip to Content
Programming PERL in the .NET Environment
book

Programming PERL in the .NET Environment

by Yevgeny Menaker, Michael Saltzman, Robert J. Oberg
September 2002
Intermediate to advanced content levelIntermediate to advanced
496 pages
10h
English
Addison-Wesley Professional
Content preview from Programming PERL in the .NET Environment

Summary

In this chapter, we discussed the advanced topic of component development in PerlNET. Every program or component we write in PerlNET represents a .NET class. The executable assemblies are implicitly provided with the Main function as their entry point.

To implement classes that are fully compliant with .NET, we use either .NET types or Mixed types. In both cases, the resulting classes will be non-sealed. We are able to inherit from existing .NET classes and implement .NET interfaces. In addition, Mixed types may store Perl references as private instance data in a blessed hash.

An exception-handling mechanism is available for all PerlNET components, including these implementing Pure Perl types. We use the die function to throw an exception ...

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.
Start your free trial

You might also like

Sams Teach Yourself Perl in 21 Days, Second Edition

Sams Teach Yourself Perl in 21 Days, Second Edition

Laura Lemay, Rafe Colburn
Pro Perl

Pro Perl

Peter Wainwright

Publisher Resources

ISBN: 0130652067Purchase book