Here is a small sample from CPAN of some of the ways to interpret your question:
Data::Struct
Simple struct building
Data-Struct-1.701 - 23 Nov 2011 - Johan Vromans
SOOT::Struct
Perl interface to generate new C-level struct types
SOOT-0.17 - 25 Dec 2011 - Steffen Müller
Win32::API::Struct
C struct support package for Win32::API
Win32-API-0.68**** (3 Reviews) - 10 Apr 2012 - Cosimo Streppone
Thrift::Parser::Type::Struct
Struct type
Thrift-Parser-0.03 - 16 Sep 2012 - Eric Waters
Class::Struct::FIELDS
Combine Class::Struct, base and fields
Class-Struct-FIELDS-1.1 - 05 Jul 2001 - B. K. Oxley (binkley)
Class::Struct
declare struct-like datatypes as Perl classes
perl-5.16.1*** (9 Reviews) - 08 Aug 2012 - Ricardo SIGNES
Inline::SLang::Struct
Support for structures
Inline-SLang-1.00 - 04 Jan 2005 - Douglas Burke
Inline::Struct
Manipulate C structures directly from Perl.
Inline-Struct-0.06*** (1 Reviews) - 11 Jun 2001 - Neil Watkiss
I hope life isn't a big joke, because I don't get it.
-SNL
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|