Perlスクリプトにハッシュ(別のファイルで定義されている)を入力し、それに必要な操作を行うにはどうすればよいですか?
例:
file1.pl-定義されたハッシュが含まれています。
file2.pl-file1.plからハッシュを設定する必要があるユーザー定義コード
my %tgs = (
'articles' => {
'vim' => '20 awesome articles posted',
'awk' => '9 awesome articles posted',
'sed' => '10 awesome articles posted'
},
'ebooks' => {
'linux 101' => 'Practical Examples to Build a Strong Foundation in Linux',
'nagios core' => 'Monitor Everything, Be Proactive, and Sleep Well'
},
);