Home > Perl Programming

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.
Ask Question About Perl Programming
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(wait for best answer)
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(wait for best answer)
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(wait for best answer)
Managing persistent connections with a Oracle database with Perl
Hi, I've been reading this thread http://www.infoqu.com/dev/perl-programming/perl-dbi-persistent-connection--multi-threaded-16508-1/ and I have to do exactly what this paragraph says: Without using mod_perl or mod_fastcgi, you're going to hav...
answer(0)  view(24)  status(wait for best answer)
i get following error "Can't use string ("USER1") as a SCALAR ref while "strict refs" in use"
#!/usr/bin/perl -w use strict; use warnings; my $USER1="pc1"; my $USER2="pc2"; my $USER3="pc3"; for (my $i=1; $i<=3; $i++) { my $usr='USER' . $i; print "the first username ",${$usr},"...
answer(1)  view(26)  status(wait for best answer)
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(wait for best answer)
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(wait for best answer)
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(wait for best answer)
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(have the best answer)
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(wait for best answer)
$sftp->put($how to avoid "Couldn't fsetstat: Failure"
$sftp->put($localPath , $remotePath); after executing file is copied succesfully. but i got an error message "Couldn't fsetstat: Failure" How to eliminate this message
answer(0)  view(241)  status(wait for best answer)
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(wait for best answer)
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(wait for best answer)
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(have the best answer)
Find the longest sequencce in a file...
I had a file with data like ... >GUL ACAGTTCAATTCGAACCATTAATTCTTTCGATATCCACTGGAACATCCAAAAACGAAAATGTCAAAATTTTTCTTAGCTTTCGCCGTCATCGCCGTCTGCCTTGTAGCAGCTCAGGCTGTACAGGAACCACAAGCATCGCTTCCCCAACCACATTCTGCACCAGCATCGCTTCCCCAACCACATTCTGCACCACTTCACCAACC...
answer(0)  view(45)  status(wait for best answer)
find the smallest number program coding
coding only
answer(0)  view(39)  status(wait for best answer)
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(wait for best answer)
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(wait for best answer)
how to get folder from ftp account use Net::FTP package
how to get folder from ftp account use Net::FTP package
answer(0)  view(37)  status(wait for best answer)
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(wait for best answer)
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(wait for best answer)
how does File::Tail works when a tailed log file changes into another file ?
I wanted to know if File::Tail will be able to switch to another file if the current log file gets terminted and a new log file is created in the directory. For example, if I am trying to tail "fileA" which is the active log file. And t...
answer(0)  view(33)  status(wait for best answer)
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(wait for best answer)
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(wait for best answer)
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(wait for best answer)
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(wait for best answer)
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(wait for best answer)
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(wait for best answer)
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(wait for best answer)
Moving files in Perl
Can anyone tell me how I can move files between directories with Perl?
answer(1)  view(630)  status(wait for best answer)
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2010 by Infoqu. All rights reserved