Modulinos: Difference between revisions
Content added Content deleted
Line 129: | Line 129: | ||
# clj is passed the flag -m <class> |
# clj is passed the flag -m <class> |
||
<lang sh>$ clj -m scriptedmain |
<lang sh>$ clj -m scriptedmain |
||
Main: The meaning of life is 42</lang> |
Main: The meaning of life is 42</lang> |
||
# A shebang forces -m |
# A shebang forces -m |
||
<lang sh>$ ./scriptedmain.clj |
<lang sh>$ ./scriptedmain.clj |
||
Main: The meaning of life is 42</lang> |
Main: The meaning of life is 42</lang> |
||
# The compiled class is run. |
# The compiled class is run. |
||