in reply to A "simple" question regarding accessing a value in a complex data structure.

print keys $tgs{articles}{Python}{Programming};
  • Comment on Re: A "simple" question regarding accessing a value in a complex data structure.

Replies are listed 'Best First'.
Re^2: A "simple" question regarding accessing a value in a complex data structure.
by ww (Archbishop) on Oct 09, 2013 at 13:04 UTC

    Re #1057536:

    print keys $tgs{articles}{Python}{Programming}; # Type of argument to keys on reference must be unblessed hashref or a +rrayref ....
      As choroba commented, i changed anonymous hash to anonymous array, so no key pair value. 'Programming' => q/Expert's Guide to Scala/ , and then, print @{$tgs{articles}{Python}{Programming}};