Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: How to use cgi table in index.pm perl

by haukex (Archbishop)
on Dec 13, 2017 at 11:24 UTC ( [id://1205409]=note: print w/replies, xml ) Need Help??


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

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.

Replies are listed 'Best First'.
Re^4: How to use cgi table in index.pm perl
by Tabish (Acolyte) on Dec 13, 2017 at 12:13 UTC

    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

        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

        Why copy/paste when you can

        cpan -i HTML::Tiny or cpanm -i HTML::Tiny or cpanp -i HTML::Tiny
        ?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1205409]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 02:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found