in reply to Multi line file to variables

Two questions: 1. Will the file always have exactly two lines? 2. Do you want two separate variables, with fixed names like $foo and $bar, is an array like in the above example acceptable, or do you maybe want to save them in a hash with certain keys?