The_Dj has asked for the wisdom of the Perl Monks concerning the following question:
Turns out I'm stuck on Java 1.4.2_16, but this feature was only added to Java in 1.5 :'(
Compile time failure:
(I've trimmed out quite a lot of the script to be succinct)
Important bits:
What am I doing wrong?
(I've trimmed out quite a lot of the script to be succinct)
Important bits:
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--
What am I doing wrong?
Back to
Seekers of Perl Wisdom