HYPERLINK to pars SQL entries to another sub...

2001-07-18 Thread Daniel Falkenberg
> List, > > face="Verdana" size="3" color="#0155B1">$entries->{unique_id} > - color="#0155B1">$entries->{fname} > $entries->{lname}(input type="hidden" value=$) > > > The following Hyperlink in my HTML is incorperated in my perl script. I > want this hyperlink to parse to anot

RE: beginner's addressbook tutorial - introduction

2001-07-18 Thread Ken Cole
Hi fliptop, > > the introduction is complete, and is available at > > http://www.peacecomputers.com/addressbook_toot-intro.html > I have just started using perl mostly aimed a cgi applications and just started going thru your tutorial. Let me say it is very good compared to some I have tried.

RE: need help with start_table

2001-07-18 Thread Brett W. McCoy
> -Original Message- > From: Tina Messmann [mailto:[EMAIL PROTECTED]] > Sent: July 18, 2001 12:52 > To: [EMAIL PROTECTED] > Subject: need help with start_table > > $cgi->start_table({-border => '1'}); You aren't printing your start_table method: print $cgi->start_table({-border => '1'});

RE: need help with start_table

2001-07-18 Thread Moon, John
One way would be : my $table =''; while(my @row=$sth->fetchrow_array){ print $cgi->Tr({-align => 'left', -valign => 'middle'}, [$cgi->td({}, [@row]) ] ); } print $cgi->table({-border => '1'}, $table); -Original Message- From: Tina Messmann [mailto:[EMA

Re: Packages, classes, cgi

2001-07-18 Thread Curtis Poe
--- shawn <[EMAIL PROTECTED]> wrote: > I am in need of some direction when working with .pm(s). I have had a couple > years experience with writing straight perl scripts, but am having a hard > time with using and writing packages. I don't understand the overall process > of calling a method from

Packages, classes, cgi

2001-07-18 Thread shawn
I am in need of some direction when working with .pm(s). I have had a couple years experience with writing straight perl scripts, but am having a hard time with using and writing packages. I don't understand the overall process of calling a method from an object. I've been given a project to write

need help with start_table

2001-07-18 Thread Tina Messmann
Hi All, probably only a silly fault from a beginner, but i am stuck. i am trying to get the following snippet to work: $cgi->start_table({-border => '1'}); while(my @row=$sth->fetchrow_array){ print $cgi->Tr({-align => 'left', -valign => 'middle'}, [$cgi->td({}, [@row]) ] );

Running perl scripts on other machines and getting feedback

2001-07-18 Thread Westlake, Andy
I have written a short perl script to report disk usage on our various systems at our site. What I would like to do is run the script from a page on our intranet and get the feedback back. Now I can do this using rsh but I am sure there is a way of doing it in perl. So any ideas please? Andy W

RE: Dreaded Internal Server Error

2001-07-18 Thread Rob Yale
Thanks folks, Bill Luebkert showed me that three of my scripts were actually DOS files, and needed to be saved properly. I'm now a much happier camper! Rob Yale -Original Message- From: Lisa Nyman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 8:33 AM To: [EMAIL PROTECTED] S

Re: unix perl to win NT perl

2001-07-18 Thread Mel Matsuoka
At 12:12 PM 07/18/2001 -0400, fliptop wrote: > >i may be starting a jihad here, but matt wright's code is generally >considered poor by the perl community at large, and you would be well >advised not to use any of it. Matt Wright's perl scripts = disasters waiting to happen. IIRC, Matt Wright h

need help with start_table-pls forget it

2001-07-18 Thread Tina Messmann
Hi All, i have forgot to write *print* $cgi->start_table( Sorry for stealing your time regards Tina $cgi->start_table({-border => '1'}); while(my @row=$sth->fetchrow_array){ print $cgi->Tr({-align => 'left', -valign => 'middle'}, [$cgi->td({}, [@row])

need help with start_table

2001-07-18 Thread Tina Messmann
Hi All, probably only a silly fault from a beginner, but i am stuck. i am trying to get the following snippet to work: $cgi->start_table({-border => '1'}); while(my @row=$sth->fetchrow_array){ print $cgi->Tr({-align => 'left', -valign => 'middle'}, [$cgi->td({}, [@row]) ] );

RE: unix perl to win NT perl

2001-07-18 Thread Canavan, John
I'd recommend checking out the FAQ at http://learn.perl.org/beginners-faq and checking section 3.2: What resources may be harmful to a beginner. -Original Message- From: Siva [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 10:46 To: [EMAIL PROTECTED] Subject: Re: unix perl to wi

Re: unix perl to win NT perl

2001-07-18 Thread Morbus Iff
Originally posted on beginners@: >Much like cultures, programming evolves over time. It's old and bad because: > > 1. it's not written with security in mind. when the internet >comes in play, security should be the number one feature, and >nothing else. > > 2. it's not written in "

Re: unix perl to win NT perl

2001-07-18 Thread Siva
> > Sent: 18 July 2001 10:13 > > To: perl > > Subject: unix perl to win NT perl > > > >i may be starting a jihad here, but matt wright's code is generally >considered poor by the perl community at large, and you would be well >advised not to use any of it. Why is that? Can you elaborate? I woul

Re: unix perl to win NT perl

2001-07-18 Thread fliptop
Sally wrote: > > -Original Message- > From: Sally [mailto:[EMAIL PROTECTED]] > Sent: 18 July 2001 10:13 > To: perl > Subject: unix perl to win NT perl > > I adapted a guestbook from Matt Wright to suit my needs, only it was coded > to run on a unix server, and I need it to run on a windo

RE: passing form values to another Perl script

2001-07-18 Thread Domenic . Santilli
So how exactly do I add the error checking in there? Hints anyone since I am very new to this whole process. Thanks "Brett W. McCoy"

Re: Tkperl

2001-07-18 Thread Brett W. McCoy
On Wed, 18 Jul 2001, raf wrote: > Yes, it's called TkPerl. :-) > where can i find it? There's a PPM for it, if you are using ActiveState Perl. http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/ -- Brett http://www.chapelperilous.net/btfwk/ ---

Re: Tkperl

2001-07-18 Thread raf
Yes, it's called TkPerl. :-) where can i find it? > >-- Brett > http://www.chapelperilous.net/btfwk/ > >Let others praise ancient times; I am glad I was born in these. > -- Ovid

Re: Tkperl

2001-07-18 Thread Brett W. McCoy
On Wed, 18 Jul 2001, raf wrote: > i would like to know if, under win32, there´s an analogon to TkPerl like under Linux? > I hope that you won´t burn for such a question... > thanks for answering Yes, it's called TkPerl. :-) -- Brett http://www.chapelperilous.n

Tkperl

2001-07-18 Thread raf
Hi, i would like to know if, under win32, there´s an analogon to TkPerl like under Linux? I hope that you won´t burn for such a question... thanks for answering -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Two Array into One Hash

2001-07-18 Thread Tillema, Glenn
> -Original Message- > From: Rachel Coleman [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 17, 2001 2:03 PM > To: [EMAIL PROTECTED] > Subject: Re: Two Array into One Hash > > Using the hash slice example in Learning Perl 2nd Edition, page 70, I > wrote the following script: [--8<-- exa

unix perl to win NT perl

2001-07-18 Thread Sally
-Original Message- From: Sally [mailto:[EMAIL PROTECTED]] Sent: 18 July 2001 10:13 To: perl Subject: unix perl to win NT perl I adapted a guestbook from Matt Wright to suit my needs, only it was coded to run on a unix server, and I need it to run on a windows NT server. I don't have th

Re: How can I avoid browser time outs?

2001-07-18 Thread daedalus
hello again, Here is my first attempt to solve this: sub do_report {local ($command) = @_; $| = 1; print "Content-type: multipart/x-mixed-replace;boundary=End\n\n"; open REPORT, "$command 2> /dev/null |" or die my $message = "Working"; until () {$messa

RE: e-mailing HTML form results

2001-07-18 Thread Bradley M. Handy
If you are going to use the 'datasend' and 'dataend' subroutines then you must change your to do the following: $smtp->data(); $smtp->datasend("whatever1\n"); $smtp->datasend("whatever2\n"); $smtp->datasend("whatever3\n"); $smtp->dataend(); One thing to note. When you start sending data, it is

RE: e-mailing HTML form results

2001-07-18 Thread Bradley M. Handy
> -Original Message- > From: Helen Dickey [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 18, 2001 6:34 AM > To: '[EMAIL PROTECTED]' > Subject: Re: e-mailing HTML form results > > > Hi again, > Can the line > $smtp->to('[EMAIL PROTECTED]"); > be > $smtp->to('[EMAIL PROTECTED],STDOUT

Re: Dreaded Internal Server Error

2001-07-18 Thread Lisa Nyman
Hi, When a CGI script runs from the command line but not from the web server, a common culprit is permissions. Be sure that anything the script does, like create files, write to files, read files, execute commands, etc, are allowed for the web server user and group. Lisa Wolfisch Nyman <[EMAIL

Re: e-mailing HTML form results

2001-07-18 Thread fliptop
Helen Dickey wrote: > > Dear Floptop or Bradley or whoever, > Thank you for your help so far. I have several lines to datasend. > Do I have to put them all in a string > $smtp->datasend("\n"); > $smtp->datasend("whatever1whatever2whatever3\n"); > $smtp->dataend(); > $smtp->quit; > Or may I >

Re: e-mailing HTML form results

2001-07-18 Thread Helen Dickey
Hi again, Can the line $smtp->to('[EMAIL PROTECTED]"); be $smtp->to('[EMAIL PROTECTED],STDOUT"); ? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: e-mailing HTML form results

2001-07-18 Thread Helen Dickey
Dear Floptop or Bradley or whoever, Thank you for your help so far. I have several lines to datasend. Do I have to put them all in a string $smtp->datasend("\n"); $smtp->datasend("whatever1whatever2whatever3\n"); $smtp->dataend(); $smtp->quit; Or may I $smtp->datasend("\n"); $smtp->datasend(

Re: passing form values to another Perl script

2001-07-18 Thread Rachel Coleman
On Tue, 17 Jul 2001 [EMAIL PROTECTED] wrote: > At this point I have a Perl script that parses a text file and creates > a number o fHTML files according to command line arguments like date, > file_output, and so on. > I want a person to fill out a form, submit it, which then activates >