Jim Gibson wrote:
On 2/24/10 Wed Feb 24, 2010 11:49 AM, "boll" scribbled:
Hello-
I am hoping there is a way to print HTML documents from a perl script.
#!/usr/bin/perl -w
use strict;
use warnings;
print "Content-Type: text/html\n\n";
open HTML,
Hello-
I am hoping there is a way to print HTML documents from a perl script.
#!/usr/bin/perl -w
use strict;
use warnings;
print "Content-Type: text/html\n\n";
open HTML, "table_one.html" or die $!;
while( ) {
print;
}
close HTML;
This displays the HTML code in t
Rob Coops wrote:
On Sun, Aug 23, 2009 at 6:47 PM, boll wrote:
There is a perl program running on my server that delivers random images
to a web page.
The image on the html page is specified by this html code:
http://localhost/cgi/random_image.cgi"/>
I would like to use this
There is a perl program running on my server that delivers random
images to a web page.
The image on the html page is specified by this html code:
http://localhost/cgi/random_image.cgi"/>
I would like to use this program in several places to display images
from other directories,
so that
I'm trying to use the random_image.pl program from the nms-cgi project
on sourceforge.net.
This line has me baffled:
if ( $baseurl !~ m%/$% )
I don't understand the function of the percent symbols.
I hope someone can explain what it's doing.
Here's the complete program:
1 #
Rob Dixon wrote:
boll wrote:
I'm trying to write a script to remove duplicate e-mail addresses
from a list.
I'd like some help understanding...
1. Why does it remove all but one of the duplicate lines?
2. How can I fix it?
Thanks for any advice,
John
---
I'm trying to write a script to remove duplicate e-mail addresses from a
list.
I'd like some help understanding...
1. Why does it remove all but one of the duplicate lines?
2. How can I fix it?
Thanks for any advice,
John
---
#!/usr/bin/perl
use warnings;
use strict;