in reply to Interpolating from text file

open(INFO,"artist.id"); while ( <INFO> ) { $info .= eval "\"$_\""; # or #push(@info, eval "\"$_\""); } close(INFO); print "info:\n$info"; #print "info:\n@info";

Those escaped quotes are required if you want to maintain the actual format
of the file - newlines, spaces and such.

update:Of course, you can use qq as in ctweten's example to make it
look a bit cleaner
while ( <INFO> ) { $info .= eval "qq($_)"; }