Loading ...
Sorry, an error occurred while loading the content.
 

Re: [PBML] complex data structures

Expand Messages
  • Louis-Philippe
    declare your array like any other array: my @array; then you can go: $array[0] = %hash; or whatever of the many way there always is to reference a hash. L-P
    Message 1 of 2 , Jul 30, 2008
      declare your array like any other array:

      my @array;

      then you can go:
      $array[0] = \%hash;

      or whatever of the many way there always is to reference a hash.

      L-P

      2008/7/30 barjesse37 <barjesse37@...>

      > If I want to make a complex data structure, in this case an array of
      > hashes, how should I declare this (to appease strict)? As an array?
      >
      >
      >


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.