jmlynesjr has asked for the wisdom of the Perl Monks concerning the following question:
In porting yet another C++ wxWidgets example to wxPerl, I had the need to translate a few simple C++ Structures to Perl. I used a hash. Thus C++ data.value becomes Perl $data{value}. Is this the generally accepted method?
Thanks,
James
There's never enough time to do it right, but always enough time to do it over...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Porting a C/C++ Structure to Perl
by tobyink (Canon) on Jan 17, 2013 at 20:18 UTC | |
Re: Porting a C/C++ Structure to Perl
by jmlynesjr (Deacon) on Jan 18, 2013 at 03:11 UTC | |
by Anonymous Monk on Jan 18, 2013 at 03:58 UTC | |
by jmlynesjr (Deacon) on Jan 18, 2013 at 15:10 UTC |
Back to
Seekers of Perl Wisdom