Skip to content Skip to sidebar Skip to footer
Showing posts with the label Perl

How Do I Extract An Html Title With Perl?

Is there a way to extract HTML page title using Perl? I know it can be passed as a hidden variable… Read more How Do I Extract An Html Title With Perl?

Perl Parse Links From Html Table

I'm trying to get links from table in HTML. By using HTML::TableExtract, I'm able to parse … Read more Perl Parse Links From Html Table

Want To Hide Cgi Rendered Html Text For Hostname When Username Text Column Is Empty

I have the current perl code in a .cgi file that we run on our server. This allows us to know which… Read more Want To Hide Cgi Rendered Html Text For Hostname When Username Text Column Is Empty

How Can I Extract Special Kind Of Table From Website In Perl?

I am trying to fetch all tables from the website http://finance.yahoo.com/etf/lists/?bypass=true&am… Read more How Can I Extract Special Kind Of Table From Website In Perl?

Include Javascript In Perl-cgi Generated Page

I was trying to add a java-script to a page which is generated on the fly. I tried this, but it see… Read more Include Javascript In Perl-cgi Generated Page

Should I Use Html::parser Or Xml::parser To Extract And Replace Text?

I am looking at being able to extract all plain text and analyse/amend from HTML/XHTML document and… Read more Should I Use Html::parser Or Xml::parser To Extract And Replace Text?

Perl Getting An Error With Refferrer

my $refer = $ENV{HTTP_REFERER}; my $gk1 = substr($str1, -4); if ($gk1 = .swf) { my $antigk = '… Read more Perl Getting An Error With Refferrer

How Do I Read A Text File By Putting Its Data In A Table Using Cgi In Perl?

The CGI to read the data from merch.txt works but how can I put this in a table? HTML File: Solutio… Read more How Do I Read A Text File By Putting Its Data In A Table Using Cgi In Perl?

Memory Leak In Html::treebuilder

I have some Perl code: use HTML::Parse; use HTML::FormatText; # ... my $txtFormatter = HTML::Form… Read more Memory Leak In Html::treebuilder

Deleting And Updating Data From Database

I have created a code that connects to database and i want to delete data from database using a but… Read more Deleting And Updating Data From Database

Retrieve Value From A Form And Write To A File

i have a form named index.cgi and a configuration file named video.start After the user selec… Read more Retrieve Value From A Form And Write To A File

Trouble Getting Regular Expression To Work

I'm trying to use regular expressions to remove certain blocks of coding from a text file. So f… Read more Trouble Getting Regular Expression To Work

Steps In Order To Pass Data From Html Form To Perl Script

I have created a simple HTML, which contains the form below: Solution 1: When a web server receive… Read more Steps In Order To Pass Data From Html Form To Perl Script

How Do I Read A File's Contents Into A Perl Scalar?

what i am trying to do is get the contents of a file from another server. Since im not in tune with… Read more How Do I Read A File's Contents Into A Perl Scalar?

How Can I Remove An Entire Html Tag (and Its Contents) By Its Class Using A Regex?

I am not very good with Regex but I am learning. I would like to remove some html tag by the class … Read more How Can I Remove An Entire Html Tag (and Its Contents) By Its Class Using A Regex?

Checking For Alphanumeric Characters And Getting Input From Html Form

I'm fairly new to programming in Perl and I have a couple of compilation issues I can't see… Read more Checking For Alphanumeric Characters And Getting Input From Html Form

Can't Save Uploaded Video's Blob Url At The Backend Server Using Ajax Call

I have a web page where user uploads a video file using html's 'input type = file' tag,… Read more Can't Save Uploaded Video's Blob Url At The Backend Server Using Ajax Call

Extract An Html Tag Name From A String

I want to extract the tag name from an HTML tag with attributes. For example, I have this tag S… Read more Extract An Html Tag Name From A String

How To Get Visitor Browser Window Size In Perl Cgi

Does anyone know how to get the height and width of user's browser window in a Perl CGI script?… Read more How To Get Visitor Browser Window Size In Perl Cgi

Formatting Data To Be A Certain Color

So the output works perfect but what I need help on is when the SQL outputs the data and I would li… Read more Formatting Data To Be A Certain Color