File: PKG1.pm

package info (click to toggle)
libinline-java-perl 0.58~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 964 kB
  • ctags: 684
  • sloc: perl: 4,717; java: 2,844; makefile: 35
file content (25 lines) | stat: -rw-r--r-- 275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package PKG1;

use strict;
use warnings;

use Inline Java => "DATA";

sub new
{
    my $class = shift;
    return  PKG1::PKG1->new(@_);
}

1;

__DATA__
__Java__
import java.util.*;
import java.io.*;

public class PKG1 {
	public static String hello(){
		return "hello" ;
	}
}