Help for this page

Select Code to Download


  1. or download this
    > echo 'JHTML `Java in here` code' | perl -p -e 's/`(.*)`/<%=$1%>/go'
    >
    > JHTML <%=Java in here%> code
    
  2. or download this
    > echo 'JHTML `Java in here` code' | ./myReplace.pl '`(.*)`' '<%=$1%>'
    >
    > About to replace: s/`(.*)`/<%=$1%>/go
    > JHTML <%=$1%> code
    
  3. or download this
    #!/usr/bin/perl -w
    
    ...
    }
    
    exit;