Could it be the ' marks around your ending_print_tag? You're telling perl to print until it sees 'ending_print_tag' but what you actually supply is ending_print_tag (without '). Try using print <<xxxENDxxx; blah blah xxxENDxxx instead. -- Eric D. Friedman friedman@uci.edu >could some1 tell me whats wrong with this how come its not returning to >the browser? > > >#!/usr/local/bin/perl >print "content-type: text/html\n\n"; >print <<'ending_print_tag'; ><HTML> ><HEAD> ><TITLE>FIRST CGI</TITLE> ></HEAD> ><BODY> ><H1>THIS IS A TEST</H1> ></BODY> >ending_print_tag