Roy Peters wrote: >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. > $s{'a'}=1; $s{'b'}=2; $s{'c'}=3;
Walter -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]