Help for this page

Select Code to Download


  1. or download this
    sub handle_req_cgi{
    eval {
    ...
    #THIS IS THE LINE which corrupts the msg but if I print just the msg w
    +ithout encode then #wide character warning is thrown by Mojo
    $tx->rendered;
    }
    
  2. or download this
    handleRequest() 
    # looks like this:
    ...
    
     returns this $jsonEncodedResult 
    }