Summary

In this chapter, we reviewed classes and types that standard .NET Framework components expose to us. All the .NET types inherit from System.Object. We should use the new method to construct .NET objects in our PerlNET programs. We use hash-reference syntax to access properties or fields and standard Perl calling-method syntax for invoking methods of the constructed objects. Classes may expose indexed properties (indexers). We may treat such classes as arrays. .NET strings cannot be used directly in PerlNET. We may use a variety of .NET arrays in our programs: one-dimensional, multidimensional (limited to three dimensions), and jagged arrays. Finally, we presented collections and demonstrated their use on the ArrayList class. Collections ...

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.