The_Dj has asked for the wisdom of the Perl Monks concerning the following question:
Then when I check it:use Inline Java => <<'END_OF_JAVA' --snip-- Map<String,Long> myMap = new Map<String,Long>(); --snip--
The program runs perfectly with just that Map removed (I'm adding a new feature)perl -c test.pl --snip-- The error message was: test_pl_185a.java:31: <identifier> expected Map<String,Long> myMap = new Map<String,Long>(); ^ 1 error --snip--
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: inline::java Generics won't compile
by davido (Cardinal) on Jul 09, 2013 at 05:27 UTC | |
by The_Dj (Scribe) on Jul 09, 2013 at 05:39 UTC |