Skip to content Skip to sidebar Skip to footer
Showing posts with the label 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

How Can I Remove External Links From Html Using Perl?

I am trying to remove external links from an HTML document but keep the anchors but I'm not hav… Read more How Can I Remove External Links From Html Using Perl?

Can The Perl Module Html::template Use Other Syntaxes Besides ?

I'm trying to make use of the Perl module HTML::Template and according to the docs it says you… Read more Can The Perl Module Html::template Use Other Syntaxes Besides ?

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?

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

Perl Libxml Get Last Line Number Of Node

I use LibXML in Perl, which store the start line number of each node, but how i can get the last on… Read more Perl Libxml Get Last Line Number Of Node

Why Is This Perl Cgi Script Failing To Upload Images Correctly?

I have this code: use CGI; use File::Basename; use Image::Magick; use Time::HiRes qw(ge… Read more Why Is This Perl Cgi Script Failing To Upload Images Correctly?

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