http://www.perlmonks.org?node_id=1051873


in reply to Re^7: CGI::Ajax No head/html tags, nowhere to insert. Returning javascript anyway.
in thread CGI::Ajax No head/html tags, nowhere to insert. Returning javascript anyway.

## $str .= ( 1 > 2 ) ? ( '; uh oh 1>2' ) : ('; ok 1<2'); ## is the same as like if( 1 > 2 ) { $str .= ( '; uh oh 1>2' ); } else { $str .= ( '; ok 1<2' ); }
  • Comment on Re^8: CGI::Ajax No head/html tags, nowhere to insert. Returning javascript anyway.
  • Download Code