Hi monks.
In the following code:
use strict;
use warnings;
my %tgs = (
'articles' => {
'Java' => 'How to Program in Java',
'Perl' => 'Perl Programming for Biologists',
'Python' => {
'Programming' => { q/Expert's Guide to Scala
+/ },
},
},
'eBooks' => {
'Linux' => q/Linux: A Beginner's Guide/,
},
);
print $tgs{articles}{Python}{Programming};
I am attempting to display "Expert's Guide to Scala" (no quotes). The preceding print statement was one of several unsuccessful attempts. The odd number of hash elements warnings arises from the fact that there is only one key?
Thanks.