Re: Problems posting file upload

2003-07-15 Thread Randall Perry
I discovered the problem. In my perl code I forgot to set the value of a hidden variable which is necessary for the upload.cgi script to run properly. Thanks to everyone for the help. > Randall Perry wrote: > >> Thanks for the quick response (thought it was an I'm on vacation message :) >> >>

Re: Help needed

2003-07-15 Thread John J Lee
On Mon, 14 Jul 2003, Octavian Rasnita wrote: [...] > After downloading an HTML page, what modules can I use to read the cell 4 > from the fifth row of a table, if that table is placed in another table in > the cell 2 of the row 3? [...] http://theoryx5.uwinnipeg.ca/CPAN/data/HTML-TableExtract/HTML

RE: Problems posting file upload

2003-07-15 Thread Thurn, Martin
Read this book: http://www.amazon.com/exec/obidos/ASIN/0596001789/thestarwarscol06 When you get a 302 response, there is a header that tells you where you're supposed to go. my $sURLnew = URI->new_abs($res->header('location'), $sURLold); The reason LWP doesn't do this for you automatically

Re: Problems posting file upload

2003-07-15 Thread Dave Mitchell
On Tue, Jul 15, 2003 at 11:51:53AM -0400, Randall Perry wrote: > --- > Got this basic code snippet from the 'Perl & LWP' book and modified it: > --- > > use stric

Re: Problems posting file upload

2003-07-15 Thread D.Monroe
Randall Perry wrote: Thanks for the quick response (thought it was an I'm on vacation message :) When submitting directly to the form action URL I got this output: http://www.tasbill.com/cgi-bin/upload.cgi error: 302 Moved at post_file_upload.pl line 20. I stepped through the script and got this

Re: Problems posting file upload

2003-07-15 Thread Randall Perry
Thanks for the quick response (thought it was an I'm on vacation message :) When submitting directly to the form action URL I got this output: http://www.tasbill.com/cgi-bin/upload.cgi error: 302 Moved at post_file_upload.pl line 20. I stepped through the script and got this output after the 'p

Problems posting file upload

2003-07-15 Thread Randall Perry
--- Got this basic code snippet from the 'Perl & LWP' book and modified it: --- use strict; use warnings; use LWP::UserAgent; my $browser = LWP::UserAgent->

Re: HTML-Parser module issue

2003-07-15 Thread Reinier Post
On Mon, Jul 14, 2003 at 05:55:09PM -0700, Hieu Nguyen wrote: > my opertion system # sun solaris version 9 > perl version: v5.6.1 built for sun4-solaris-64int (come w/ op system) > gcc compiler version: gcc-2.95.3-sol8-sparc-local > my quetion is when I tried to install the perl module > (HTML-Parse

Re: Help needed

2003-07-15 Thread Reinier Post
On Mon, Jul 14, 2003 at 11:10:26PM +0200, Carsten Kruse wrote: > Hi Teddy, > > if you know about the structure of the html page you should > try the functions of HTML:TokeParser package. [very nice example omitted here for brevity] I have used HTML::TreeBuilder in some of my scripts. If the HT

Re: cc: not found

2003-07-15 Thread Dave Mitchell
On Tue, Jul 15, 2003 at 11:19:38AM +0100, [EMAIL PROTECTED] wrote: > > when you install modules which need a compiler it is best to use the Compiler that > Perl itself is built with (pelr -V). When using the Perl comiled with Sun compilers, the following may be useful for building modules with g

RE: cc: not found

2003-07-15 Thread FayeGibbins
when you install modules which need a compiler it is best to use the Compiler that Perl itself is built with (pelr -V). Either you can: CC=/usr/local/bin/gcc CCCDLFLAGS=-fpic OPTIMIZE="-O2" LD=/usr/local/bin/gcc export CC CCCDFLAGS OPTIMIZE LD perl Makefile.PL CC=/usr/local/bin/gcc CCCDLFLAGS=-

sh: cc: not found

2003-07-15 Thread Hieu Nguyen
my operting system # sun solaris version 9 perl version: v5.6.1 built for sun4-solaris-64int (come w/ op system) gcc compiler version: gcc-2.95.3-sol8-sparc-local my quetion is when I tried to install the perl module (HTML-Parser-3_07_tar.gz), i ran into problems as below: cc -c -D_LARGEFILE_SOUR