- or download this
%files_data = {
'./GetOpt.pm' => {
...
}
}
};
- or download this
%process_data = (
...
'name' => 'file2'
}
);
- or download this
%hash = (
'file1' => {
...
'./GetOpt.pm' => 1,
}
);
- or download this
file1 => file2 => ./GetOpt.pm
- or download this
file1 => {
./GetOpt.pm,
file2 => ./GetOpt.pm
}
- or download this
create_proc_tree(\%process_data,\%files_data);
...
}
print Dumper(\%hash); # Printing for debug
}
- or download this
use Data::Dumper;
$abc = "Mouse=>Jerry, Cat=>Tom, Dog=>Spike";
my %hash = eval( "( $abc )" );
print Dumper(\%hash);