It's called a hash slice.@$AssetRecord{@ExcelColumns} = @Data;
And you seem to think that while (<@array>) { ... } is sensible code, when it really is quite awful. Don't use that type of idiom. If you want to loop over an array, use for.
In reply to Re: Record creation in nested loops
by japhy
in thread Record creation in nested loops
by Ninthwave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |