in reply to perl interface to emacs

If the emacs session is running with a the server started you can run something like 'emacsclient --eval '(message "Hello World!")'´.