3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-18 09:59:37 +01:00
pbot/modules/compiler_vm/languages/java.pm
2015-04-10 03:43:45 -07:00

19 lines
307 B
Perl
Executable File

#!/usr/bin/env perl
use warnings;
use strict;
package java;
use parent '_default';
sub initialize {
my ($self, %conf) = @_;
$self->{sourcefile} = 'prog.java';
$self->{execfile} = 'prog';
$self->{default_options} = '';
$self->{cmdline} = 'javac $options $sourcefile';
}
1;