Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF Perl


Premature Ending of script headers  

I think you guys may be tired of this question.But I don't really know how to solve it. #!/usr/bin/perl print "Context-type: text/html\n\n"; print "Hello EveryOne"; -------------------------------------- Even this sample doesn't work. The perl directory is right. I typed in... Continue Reading
Views : 74
Tuesday 27th of November 2012

HTML::SimpleLinkExtor question  

I was wondering if anyone knows how to make this module HTML::SimpleLinkExtor $PHXLESShttp://cpan.uwinnipeg.ca/htdocs/HTML-SimpleLinkExtor/HTML/SimpleLinkExtor.html$PHXGREAT easily support iframe tags showing up under $extor-$PHXGREATframe. I tried modifying %AUTO_METHODS to include the tag but it... Continue Reading
Views : 45
Tuesday 27th of November 2012

Apache2::Cookie  

I have installed Apache2::Cookie on a gentoo-server. when i test a self programmed module i get the following errormessage: Can't load '/usr/lib/perl5/vendor_perl/5.8.7/i686-linux/auto/APR/Request/Apache2/Apache2.so' for module APR::Request::Apache2:... Continue Reading
Views : 34
Tuesday 27th of November 2012

make test fails for XML::PARSER  

Hi all, In order to get SOAP Lite installed, I had to install a bunch of other prereq perl modules, including XML::PARSER. The only prereq to XML::PARSER I needed to install was expat. I downloaded expat 1.95.8 from sourceforge and ... Continue Reading
Views : 284
Tuesday 27th of November 2012

[comp.lang.perl.moderated] Welcome - read this first!  

Archive-Name: perl-faq/moderated/welcome Comp-lang-perl-moderated-archive-name: welcome Posting-Frequency: weekly Version: $Id: FAQ,v 1.51 2004/08/10 16:05:00 gbacon Exp $ URL: http://www.plover.com/clpm/FAQ Maintainer: Greg Bacon $PHXLESSgbacon@hiwaay.net$PHXGREAT Copyright-Notice: see Section 14... Continue Reading
Views : 156
Tuesday 27th of November 2012

Scrollbar with Optionmenu  

Hi ! I've a little problem with "Optionmenu" method. You know, when you have too much variables, the option bar is too long and you can't see all the list. Is there a scrollbar command for this method or something ... Continue Reading
Views : 41
Tuesday 27th of November 2012

hot to post to form  

I want to write a perl script to fill out a form and submitit. This is the url the form sends data to. print "Location: http://www.somewhere.com/wwwboard/cg...wwboard.pl?nam e=cindy&subject=new&body=saysomething"; Should this work? If it does, how do I get it to continue... Continue Reading
Views : 100
Tuesday 27th of November 2012

Re: STDIO does not hold execution  

-----Original Message----- $PHXGREATFrom: Robert.Locke@tietoenator.com $PHXGREAT $PHXGREATPlease look at my short code and tell me where I go wrong. $PHXGREATI though a read from STDIO should make the execution stop, $PHXGREATwait for some input and a return, but my code just ... Continue Reading
Views : 64
Monday 26th of November 2012

Re: Help: how to "kill" a pipe  

In article $PHXLESSe10cccdf.0306210433.35ba13df@posting.google.com$PHXGREAT, Ryo Furue $PHXLESSfurufuru@ccsr.u-tokyo.ac.jp$PHXGREAT wrote: $PHXGREATHi there, $PHXGREAT $PHXGREATI have a problem like this: $PHXGREAT $PHXGREAT open(LOG, "tail -f /var/log/somelog |"); $PHXGREAT # ...... Continue Reading
Views : 50
Monday 26th of November 2012

MIME::Decoder::UU  

I'm having trouble understanding the MIME: ecoder usage. Within the context of a MIME email handling program I have an array, @data, and I want to uuencode it. I thought I could instantiate a MIME: ecoder with an encoding of ... Continue Reading
Views : 46
Monday 26th of November 2012

Anything faster than stat()   

Help! I'm recursing through 10,000 directories where some have as few as 5 files and others have 100's. I'm then performing a few things based on the modify date of the file. Needless to say, this script is going to ... Continue Reading
Views : 70
Monday 26th of November 2012

Safe.pm doesn't catch m// - bug or 'my bad'  

Playing around with Safe.pm to write a prog that would safely allow users to enter test strings and regexes and test matching. Found the following: #!/usr/bin/perl -w use Safe; $c = new Safe; $c-$PHXGREATpermit_only( qw( leaveeval const )); $result = ... Continue Reading
Views : 52
Monday 26th of November 2012

HELP: need a good socket tutorial  

The tutorials I've found using Google were too old and incomplete. Could you tell me when I could fine a good one, with many examples? Thanks in advance. Stiv... Continue Reading
Views : 81
Monday 26th of November 2012

multi-part forms in CGI.pm  

Hi, I am a new comer to CGI.pm and find it extremely useful. I have created multi-form pages and with little struggle have succesfully been able to save states from one form to another (from one page to another). Two ... Continue Reading
Views : 58
Monday 26th of November 2012

RE: modules for Excel to PDF  

$PHXGREAT This doesn't make much sense - if you are going to generate $PHXGREAT Excel files from a database, and then PDFs from that, why not $PHXGREAT go straight from the database to a PDF in one step? OK, I'll ... Continue Reading
Views : 275
Monday 26th of November 2012

Don know Perl, don't know what's broke - re - type1inst!!  

(2nd post, I think my first may have been to the wrong group - sorry) Hello Perl-ers - I?m hoping I can get some help here, because I'm very lost. Don't know Perl, I'm not a programmer. And this is ... Continue Reading
Views : 159
Monday 26th of November 2012

a perl newbie  

I was recently asked to learn perl for a web project by my boss. I dont know much about perl and today is my first day of research. I have a programming background in java and vb . I am ... Continue Reading
Views : 129
Monday 26th of November 2012

Help needed with form submits and Perl handling  

Hi all, I could use some help programming on of my Perl script to handle different submit buttons within the same form. Here is what I have so far. A user goes to a Web form and inputs some data ... Continue Reading
Views : 70
Monday 26th of November 2012

Saving GIFs in CGI  

Hi Im writing a java applet that calls a perl script to save pictures generated by the applet locally. The applet converts the onscreen buffer into a GIF and sends in via POST in a byte stream. The problem im ... Continue Reading
Views : 42
Monday 26th of November 2012

A newbie question on pattern matching  

REAL newbie. I just got my book in the mail yesterday. And of course at this point, I am not trying to produce anything, just understand stuff that is a long way from Turbo Pascal and C++. So far everything ... Continue Reading
Views : 61
Monday 26th of November 2012

setting cookie then redirect problem  

Hi, I'm trying to set a session cookie and then redirect, however I get the error: Status: 302 Moved Location: /index.cgi I thought I recall getting an error like this when I first tried performing a redirect when I had ... Continue Reading
Views : 145
Monday 26th of November 2012

$ARGV problem  

I have the following perl script but when I use the $ARGV variabe and try to run in the unix it gives me error. The name of the file is FTP_FILE if($ftp_status==0) { print "\nPut file $FILENAME"; # Quit the ... Continue Reading
Views : 147
Monday 26th of November 2012

Aligning 2d array of numbers  

I have a large array of numbers, say 10,000 rows by 8 columns. The numbers are mostly floating point but some integers. I want to align each column by the decimal point or right justify the integers. Is there an ... Continue Reading
Views : 55
Monday 26th of November 2012

Re: newbie question about removing un needed extra lines  

Eric J. Roode wrote: $PHXGREAT Scott Taylor $PHXLESSscotttaylor@bigfoot.com$PHXGREAT wrote in $PHXGREAT news:bggslc$686$1@slb5.atl.mindspring.net: $PHXGREAT $PHXGREAT $PHXGREAT$PHXGREATI've just started learning perl, and had two questions. One, what is $PHXGREAT$PHXGREATthe best way to open a... Continue Reading
Views : 267
Monday 26th of November 2012

Need Explanation  

These are informix/4GL lines. I am writing equivalent perl code Can anyone explain me what this code performs sdate be any date ------------------ let mnth = month(sdate) let yr = year(sdate) # let edatec = mnth using "&&", "/01/", yr ... Continue Reading
Views : 56
Monday 26th of November 2012

Can you properly integrate PHP and Perl  

I'm well familiar with both PHP and Perl Let's say you've written, or have access to, a nice set of PHP modules or functions which allow you to write general applications very quickly. (As an example, to quickly bring up ... Continue Reading
Views : 117
Monday 26th of November 2012

Perl scripts interconnectivity... Is it possible...  

Is there any way for Perl script to use subroutines from another one? Thanks.... Continue Reading
Views : 39
Monday 26th of November 2012

Submitting through a perl script  

I was asked to help a friend out with his site but ran into an issue. He currently wants a cgi to capture data, if the one of the variables is less than X, just send an email, if the ... Continue Reading
Views : 126
Monday 26th of November 2012

Re: Error: can't modify scalar reference  

HP wrote: $PHXGREAT When i run my following prog. $PHXGREAT our $test='this is just test'; $PHXGREAT print $test; $PHXGREAT print "----test\n"; $PHXGREAT it gives me compilation error: can't modify scalar reference at line 1 PRINTED RESULTS: ________________ this is just ... Continue Reading
Views : 138
Monday 26th of November 2012

mod_perl errors: prototype mismatch ... during global destruction  

RedHat 7.3, latest patches on everything, cannot be upgraded to newer releases of RedHat Apache 1.3.27 modperl 1.26 Apache configuration: $PHXLESSIfModule mod_perl.c$PHXGREAT PerlModule Apache: BI PerlRequire /full/path/secure_cgi-bin/startup.pl PerlFreshRestart On Alias /cgi-bin/... Continue Reading
Views : 151
Monday 26th of November 2012