Hi, Am 02.01.2009 um 17:34 schrieb Mark Volkmann:
For example, this should run the application: clj myapp.clj and this should not: clj user=> (load-file "myapp.clj")
You should probably pack everything in a namespace with a main function. (ns my.app) ... (defn main [& args] ...) Then you can run the script via: java -cp <appropriate classpath here> clojure.main my.app Our you can load the file via load-file or require, without running it. Downside: the file must be named according to the namespace rules. Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature