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

.NET Types and PerlNET

The .NET types that we use in PerlNET may be divided into two major groups: value types and reference types. Value type variables store the value itself, while reference type variables store a reference (an address in memory where the data is located). References are useful for compound types, and usually we use them to work with instances of .NET class types—objects.

Whenever a .NET method returns an object, PerlNET stores a reference to it unless this object represents one of the value types: System.Int32, System.Double, System.Decimal, and so on. Here are the .NET value types of our interest (they all reside in the System namespace):

  • Boolean

  • Char

  • SByte

  • Int16

  • Int32

  • Int64

  • Byte

  • UInt16

  • UInt32

  • UInt64

  • Single

  • Double

  • Decimal

PerlNET stores ...

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