in reply to Re: Prepending characters to lines in file
in thread Prepending characters to lines in file

That will work as long as your lines don't contain regex metacharacters. :)

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