in reply to Generating an output file
You could store the rest of the line (each sub-entry) in a separate array, then loop over that. Here's one I put together quickly:
while(<INPUT>){ my (@prefix,@rest); chomp; (@prefix[0..2],@rest) = split /,/; for (@rest) { local $, = ','; local $\ = "\n"; print @prefix,$_; } }
print pack("A25",pack("V*",map{1919242272+$_}(34481450,-49737472,6228,0,-285028276,6979,-1380265972))) |
|
---|