in reply to Mulitple values for a key in a hash
Thats how I would write the structure. Although, just a suggestion, I would use an ini file or some sort of config file to hold the host info and build %filesystems with code.my %filesystems = ( hosta => { desc => 'x', filesystem => [ qq|/a/b/c +/d/e/f| ] }, hostb => ( desc => 'r', filesystem => [ qq/w/e/r / +home ] } );
|
|---|