Hmm... another question.. will this kinda of stuff be easier in Perl 6? > -----Original Message----- > From: Roy Peters [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 9:38 AM > To: [EMAIL PROTECTED] > Subject: simulating c structures in perl > > > How would you define c type structures in perl? > > eg. > > struct { > int a; > int b; > int c > } STRUCT1; > > int STRUCT1 s; > > s.a =1; > s.b =2; > s.c =3; > > How would I write this in perl? > > Thanks. > > ============================================================ > The information contained in this message may be privileged > and confidential and protected from disclosure. If the > reader of this message is not the intended recipient, or an > employee or agent responsible for delivering this message to > the intended recipient, you are hereby notified that any > reproduction, dissemination or distribution of this > communication is strictly prohibited. If you have received > this communication in error, please notify us immediately by > replying to the message and deleting it from your computer. > > Thank you. > Tellabs > ============================================================ > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]