http://qs321.pair.com?node_id=1156580


in reply to Re^2: Convert Shell script to Perl
in thread Convert Shell script to Perl

Sorry for necroposting, but in Perl, the running code should be:

my $JAVACMD = "$JAVA_HOME/bin/java"; my @OUTPUT = `$JAVACMD -cp "$LOCALCLASSPATH" org.apache.xalan.xslt.Pro +cess "@ARGV"`;