in reply to printing a table in html using data read from a file

There was a lot of good discussion about creating tables in this node (was that node by you too?). What stands out for me is your statement:
I can't ever get "use HTML::Table" to work, just includeing it make it crash

You might want to test your system by doing something simple like:

#!/usr/bin/perl -wT use strict; use CGI::Carp qw(warningsToBrowser fatalsToBrowser); use CGI; use HTML::Table; print <<EOF Content-type: text/html\r \r <html><body><h1>Looks OK to me...</h1></body></html> EOF
Then you should at least see if you can include HTML::Table. Look at the generated HTML as well; warnings will appear as HTML comments.

Replies are listed 'Best First'.
Re: Re: printing a table in html using data read from a file
by Anonymous Monk on Jun 12, 2001 at 20:18 UTC
    This is what i get when I try your sample program I called it g.cgi:
    Software error: Can't continue after import errors at .../public_html/cgi-bin/g.cgi li +ne 3 BEGIN failed--compilation aborted at .../public_html/cgi-bin/g.c +gi line 3. For help, please send mail to this site's webmaster, giving this error + message and the time and date of the error.
      It looks like you're missing CGI::Carp and/or HTML::Table in your installed modules. Make sure that you have them installed. Try running g.cgi from a command prompt:
      perl g.cgi
      .