in reply to Re: How to use cgi table in index.pm perl
in thread How to use cgi table in newindex.pm perl

Thank you. but i cant use print in index.pm

  • Comment on Re^2: How to use cgi table in index.pm perl

Replies are listed 'Best First'.
Re^3: How to use cgi table in index.pm perl
by haukex (Archbishop) on Dec 13, 2017 at 11:24 UTC
    i cant use print in index.pm

    $h->table(...) returns a string, which you can save in a variable and return from a function like your sub getContent.

      I treid but doesnt work for me

        If you are using XAMPP then you probably don't have HTML::Tiny installed. Download the file Tiny.pm from here and save it in C:\xampp\perl\vendor\lib\HTML

        poj