in reply to C Library for Perl-like Hashes Creation

Dunno about C, but C++ STL has rough equivalents of Perl datatypes.

A perl hash is somewhat like an STL map.
A perl array is somewhat like an STL vector.
A perl scalar is somewhat like an STL string.

Homogenization isn't as easy of course, since you have to deal with types in C/C++, but the basic dynamic data structure is essentially there.

  • Comment on Re: C Library for Perl-like Hashes Creation