I'm new to Clojure, and I've found it possible to make Clojure scripts
executable by adding '#!/usr/bin/env clj' as the first line (and
'chmod +x' of course).
E.g. My sample script:

#!/usr/bin/env clj

(println "Hello World")



This seems like a very convenient way to dabble with Clojure, yet I
have not seen it suggested anywhere.  Is this method discouraged?



-- 
Paul Richards
@pauldoo

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to