Commits

Miki Tebeka committed ca202b0

.pl to get syntax highlight

  • Participants
  • Parent commits add4e57

Comments (0)

Files changed (2)

File embedded

-#!/usr/bin/env perl
-# Standalone script with embedded jar
-
-# Jar file, we use the user name to avoid collision with other users
-$jar = "/tmp/lp-$ENV{USER}.jar";
-
-# Extract jar if not there
-unless (-e $jar) {
-    open DECODE, "|base64 -d > $jar" or die "can't open base64 pipe";
-    print DECODE <DATA>;
-}
-
-# This will replace the current process with the java one
-exec "java", "-jar", $jar, @ARGV
-
-__DATA__
-YOUR BASE64 ENCODED DATA GOES HERE
+#!/usr/bin/env perl
+# Standalone script with embedded jar
+
+# Jar file, we use the user name to avoid collision with other users
+$jar = "/tmp/lp-$ENV{USER}.jar";
+
+# Extract jar if not there
+unless (-e $jar) {
+    open DECODE, "|base64 -d > $jar" or die "can't open base64 pipe";
+    print DECODE <DATA>;
+}
+
+# This will replace the current process with the java one
+exec "java", "-jar", $jar, @ARGV
+
+__DATA__
+YOUR BASE64 ENCODED DATA GOES HERE