in reply to here document styling

I just write
print <<EOTEXT; mumble mumble rhubarb EOTEXT ;
If I don't write the semicolon, emacs (my favourite editor) doesn't understand and doesn't insert the automatic spaces at the beginning when pressing TAB ;-)(i don't know the english expression, sorry, but I hope you will understand what I want to say).

Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"

Comment to change:The word what I was looking for was: automatic indentation (thanks to Juerd)