Perl Programming
Perl Programming forum discussing coding in Perl, utilizing Perl modules, and other Perl-related topics. Perl, the Practical Extraction and Reporting Language, is the choice for many for parsing textual information.
PGP Sign email created from an HTML form?
Anyone know a way of PGP signing an email created from a form submitted on a web page? I have been using soupermail <http://soupermail.sourceforge.net> but this can only ENCRYPT the message, I just need to add a signature.
I know i...
answer(157) view(773) status(

)
How to fill out Data for Guestbook
I am new to perl programming and I just have a few questions? I am just wondering how to fill out this informantion.
Info: On my web server I have all the html files in a "web" folder
$guestbookurl = "http://your.ho...
answer(159) view(629) status(

)
how can i verify if a package exists?
I have a small problem, working on a script that use console colors (Win32::Console::ANSI) and i got stuck because this script need to run on linux also and i want to do that without commenting "use Win32::Console::ANSI" line.
something ...
answer(0) view(20) status(

)
answer(0) view(24) status(

)
answer(1) view(26) status(

)
Perl Pagination Gremlin
Hi
I have a webpage that needs pagination, as the page displays results retrieved from a mysql database. The problem I am having is that instead of redirecting to the linked page (as expected) I get a pop-up window asking if I want to download t...
answer(0) view(32) status(

)
SOAP::Lite and mod_perl2?
Does anyone know if SOAP::Lite works with mod_perl2? When I try to install SOAP::Lite I get "Warning: prerequisite Apache 0 not found.". I have installed Apache and mod_perl 2.0 and they function correctly.
answer(1) view(212) status(

)
mysql_insert_id() proper syntax
I just recently learned of this function in MySQL and I can't figure out the proper syntax to use it in Perl. I was using a different way of finding out the Auto-increment value but it won't work if two names are identicle. This part of ...
answer(3) view(755) status(

)
file upload without CGI.pm
hi peeps,
this is giving me a headache now...so I decided to come here and ask for help. I have this bit of code that is supposed to upload files without using CGI.pm and the fact is that it works like a charm on localhost (windows 2k mach...
answer(7) view(413) status(

)
Downloading in Perl
I have created a perl cgi script that dinamically displays the files in a directory as well as other directories available. For whatever reason, when I try to download the documents displayed, the browser trys to interpret and display them...
answer(3) view(159) status(

)
answer(0) view(241) status(

)
Web Automation using LWP::UserAgent
Hey Champs .. I need your help ..
So what i want is .. i want to crawl a site .. But i am unable to do it using LWP::UserAgent ..
I am writing a small snippet here .. My site is having one city box, one search box, one area box and one button .....
answer(0) view(40) status(

)
Keeping all profile values with imagemagick
Greetings,
I am currently working on an imagemagick script that resizes, and I would like to keep all of the profile information associated with the original image (such as software, artist...)
I know you can remove all of this inform...
answer(4) view(708) status(

)
Unique CD characteristics
What unique data does each CD have that i can get (it) by a perl script or a perl module in Windows ?
And what script or module is it ?
Or can someone tell me how to get the "CD's Serial Number" (that is located in the middle ...
answer(3) view(511) status(

)
Find the longest sequencce in a file...
I had a file with data like ...
>GUL
ACAGTTCAATTCGAACCATTAATTCTTTCGATATCCACTGGAACATCCAAAAACGAAAATGTCAAAATTTTTCTTAGCTTTCGCCGTCATCGCCGTCTGCCTTGTAGCAGCTCAGGCTGTACAGGAACCACAAGCATCGCTTCCCCAACCACATTCTGCACCAGCATCGCTTCCCCAACCACATTCTGCACCACTTCACCAACC...
answer(0) view(45) status(

)
answer(0) view(39) status(

)
Cpan File::Tail help required
Hi,
I have a file which I am reading which changes date each day I am trying to use File:Tail from cpan and cannot seem to get the name_change part of it to work
http://search.cpan.org/dist/File-Tail/Tail.pm
According to the docs you...
answer(1) view(792) status(

)
Perl help
I'm currently running the perl version of BEng(Battle Engine) on my irc network.
One of the options is to list all the spells a certain character can do. The problem I have is when someone does the command...it runs all the spells toget...
answer(2) view(533) status(

)
answer(0) view(37) status(

)
CGI Modules
Hi,
Iam new to perl programming, pls tell me what are all the CGI Modules that i have to get through to be a expert in CGI Programmer in Perl.
answer(79) view(866) status(

)
Access problem in perl script - help!
Please help....
I'm running this perl script on a Windows server. The culprit file in question (wdpro.pm) is in the same folder as the original script (i.e. cgi-bin). Here's the message:
"Can't locate wdpro.pm in @INC (@INC con...
answer(9) view(976) status(

)
answer(0) view(33) status(

)
FormMail
I am using DevMailer from geocel.com and Matt Wright's Formmail ported to NT by them. I am using it to handle html forms and send them to a recipient which is an e-mail address that sends the contents of the e-mail to an alpha numeric pager...
answer(2) view(347) status(

)
ODBC/.MDB/PHP3/LINUX ?
Hi.
I'm wonder how to set up ODBC for use with an Access database (.mdb) and apache/linux/mod_php3.
Anyone who knows if this is possible and, if it is, how to do this ?
answer(3) view(862) status(

)
News Scripts
Hey, all. I'm writing an article generation script for my staff, and I want to know how to make it write the newest articles on top of the other ones... you know, like how on Perl News scripts the newest news post is on the very top... if a...
answer(0) view(443) status(

)
Suggestion for CGI for banners no SSI
I need to have a CGI (possibly free) that will be able to simply rotate banners (scheduled through a simple text file) but with the ability to have links too.
All the ones I have found are only Banners (not cliccable) or require SSI inclu...
answer(5) view(742) status(

)
Any LWP-based website grabbers available?
Hi everybody,
I'm trying to find a decent perl script for grabbing entire sites off the web (should be able to create browsable copies with localized links, etc.).
I've got Leitner's WebMirror and it should do exactly what I need, but f...
answer(1) view(944) status(

)
Reading Date
From a previous posting I have tried the following code for getting the date:-
$date_read = localtime;
I split the date up as follows:-
($day,$month,$date,$time,$year) =
split(/ /,$date_read);
This worked fin...
answer(0) view(639) status(

)
Handling from posted form
I am trying to write posted information from a form <textarea> into a file.
For reading back from file I am using the following perl:-
open(INFILE, "filename");
@ALLRECORDS = <INFILE>;
close INFILE;
and processing e...
answer(1) view(229) status(

)
answer(1) view(630) status(

)