Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Convert Shell script to Perl

by akrrs7 (Acolyte)
on Oct 10, 2011 at 13:22 UTC ( #930628=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/sh
    export LIBDIR=$MY_XALANHOME/bin
    ...
    export LOCALCLASSPATH=${LOCALCLASSPATH}:${LIBDIR}/xercesImpl.jar
    JAVACMD=$JAVA_HOME/bin/java
    $JAVACMD -cp $LOCALCLASSPATH org.apache.xalan.xslt.Process "$@"
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    $ENV {'LOCALCLASSPATH'}='$LOCALCLASSPATH:$LIBDIR/xercesImpl.jar';
    JAVACMD=$JAVA_HOME/bin/java;
    $JAVACMD -cp $LOCALCLASSPATH org.apache.xalan.xslt.Process "$@";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://930628]
Approved by keszler
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2020-10-29 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (274 votes). Check out past polls.

    Notices?