Archive of UserLand's first discussion group, started October 5, 1998.

Re: How to push Perl hash through XML RPC?

Author:Tommy Williams
Posted:1/19/1999; 9:20:43 AM
Topic:Frontier on MacOS X Server
Msg #:2245 (In response to 2231)
Prev/Next:2244 / 2246

There are three basic data types in Perl: scalars, arrays, and hashes. The arrays and hashes are composed of scalar values.

But hashes can get tricky. Because the value pointed to by a given key can be a reference to another structure rather than just a plain scalar. So you can end up with hashes of scalars, hashes of arrays, hashes of hashes, or mixtures of the above.

You can also have an array of hashes....

More info at your favorite CPAN mirror of the documentation, in the Perl data structures cookbook:

<http://www.perl.com/CPAN/doc/manual/html/pod/perldsc.html>




This page was archived on 6/13/2001; 4:47:23 PM.

© Copyright 1998-2001 UserLand Software, Inc.