in reply to Re: golfing hash slices (Russ = 57)
in thread golfing hash slices
You can drop the round brackets arount the <>, as we all use the $. (input line number variable) instead of @entries:
@{$entries[$.-2]}{@fieldnames}=split','while<>; #47 charactersOf course, shortening the variable names would also reduce the size of this:
@{$e[@e]}{@f}=split','while<>; #30 charactersIn which case it is shorter to use the @e array size rather than $.
|
|---|