groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imholz, John J." <imho...@musc.edu>
Subject println slashy string
Date Wed, 07 Dec 2016 19:52:57 GMT
This one line script fails for me:
---BOF---
println /stuff/
---EOF---

Causes an error: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/tmp/println.groovy: 2: unexpected token:  @ line 2, column 1.

I find using the slashes is helpful when generating some debugging output.

jji






-------------------------------------------------------------------------
This message was secured via TLS by MUSC.

Mime
View raw message