in reply to Reading from file
while (<FILE>) { chomp; s{^qr/(.*)/$}{qr/$1/}e; push @hold, $_; } [download]
Note that this data is tainted and potentially dangerous. Don't do this unless you trust your data.