I am using qq function to store my SQL requests in Perl. Like this:
qq{
SELECT
table1.name,
table1.description
FROM
table1
WHERE
table1.id=?
}
But in Emacs cperl-mode it's impossible to use tab inside qq, which slows my work. How can I fix it?
Emacs has wonderful facilities that understand syntax really well considering it's not a full parser.
Try this in your init file.
Of course you still need to tweak
indent-relativeto get it to do exactly what you want. seetab-to-tab-stop