in reply to Prepending characters to lines in file
perl -i.bak -pe 's/$_/> $_/' filename
You don't really need to match the line itself; just matching the beginning of the line works fine:
perl -pi.bak -e 's/^/> /' filename
Yes, I watch meteor showers
No, I do not watch meteor showers
My meteors prefer to bathe
Results (177 votes). Check out past polls.