- or download this
my %fileinfo = (); # name -> (array-of-path+size+etc)
my $href = \%fileinfo;
...
%$href->{ $_ } = @savedata; # put new data back in the hash
}
- or download this
myfile.mp3
c:\dir1\dir2; date=12/3/45; size=12345
c:\dir3\dir4; date=1/01/01; size=54321
- or download this
@savedata = %$href->{ $_ };
push @savedata, @filedata;
%$href->{ $_ } = @savedata;