RE: Way off topic...

2001-07-31 Thread Deneb Pettersson (LMF)
damn, forgot to put a source explanation... bd Deneb... fix it now http://www.logophilia.com/jargon/jargon_28.html#TAG1136 > -Original Message- > From: Deneb Pettersson (LMF) [mailto:[EMAIL PROTECTED]] > Sent: 1. elokuuta 2001 9:43 > To: [EMAIL PROTECTED] > Subject: RE: Way off to

HTML/CGIPERL/JavaScript related

2001-07-31 Thread Rahul Garg
- Original Message - From: Rahul Garg To: [EMAIL PROTECTED] Sent: Wednesday, August 01, 2001 11:04 AM Subject: HTML related Hello , What i want is a hyperlink after activated once get disabled.. I am using HTML/PERL Can i use onClick event of JavaScr

RE: Way off topic...

2001-07-31 Thread Deneb Pettersson (LMF)
well FUBAR is what you said. <-copypasted--> metasyntactic variable /n./ A name used in examples and understood to stand for whatever thing is under discussion, or any random member of a class of things under discussion. The word foo is the canonical example. To avoid

RE: simple

2001-07-31 Thread Moon, John
Why not ... .. if ($true) { print $q->a({-href=>'some.cgi'}, 'This is a Link'); } else { print $q->u('This is a Link'); } The only other way I would know how to do this would be with some Javascript ... but if your "condition" can be determined by the CGI have the

Re: -= For the LOVE OF GOD!!!! =-

2001-07-31 Thread Casey West
On Tue, Jul 31, 2001 at 11:09:50AM -1100, Jason Helmich wrote: : yes casey, : thank you so much for clearing that up for me. i have read the faq. i'm : not a moron this is what i get in return: I didn't suggest that you were a moron. : : To confirm that you would like : :

Re: Way off topic...

2001-07-31 Thread Bkwyrm
Le Tue, Jul 31, 2001 at 04:58:17PM -0500, Ryan Davis/Pamela Karr a dit le suivant: } Where did 'foo' and 'bar' come from? I was always under the impression that they came from the old military(?) acronym FUBAR, which stood for "f*cked up beyond all recognition", at least according to good ol'

RE: Way off topic...

2001-07-31 Thread Moon, John
"F* Up Beyond All Recognition" (which is what happens to the best of all of us at times ...) ... an "old" military term ... I had that happen once to a program I wrote ... a CGI program ... a PERL CGI program ... in fact ... several programs ... but I now use "strict" -Original Me

Way off topic...

2001-07-31 Thread Ryan Davis/Pamela Karr
I figure someone here might know, and I've been wondering for years. Where did 'foo' and 'bar' come from? Thanks, Ryan

RE: -= For the LOVE OF GOD!!!! =-

2001-07-31 Thread Jason Helmich
yes casey, thank you so much for clearing that up for me. i have read the faq. i'm not a moron this is what i get in return: To confirm that you would like [EMAIL PROTECTED] removed from the beginners-cgi mailing list, please send an empty reply to this address: [EMAIL

Re: -= For the LOVE OF GOD!!!! =-

2001-07-31 Thread Casey West
On Tue, Jul 31, 2001 at 11:00:52AM -1100, Jason Helmich wrote: : -BEGIN PGP SIGNED MESSAGE- : Hash: SHA1 : : i have been trying to unsubscribe to this list for weeks now Hi. If you read the FAQ you would find out how to unsubscribe. : -- : To unsubscribe, e-mail: [EMAIL PROTECTED] :

Re: Using modules

2001-07-31 Thread Casey West
On Tue, Jul 31, 2001 at 05:34:01PM -0400, Brett W. McCoy wrote: : On Tue, 31 Jul 2001, Ryan Davis/Pamela Karr wrote: : : > How can I change my @INC variable? Can I just: : > : > @INC = (@INC, "/home/me/libs/"); : > : > It seems like I would need to change it before my perl program starts... : >

-= For the LOVE OF GOD!!!! =-

2001-07-31 Thread Jason Helmich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i have been trying to unsubscribe to this list for weeks now please unsubscribe me please i beg you i hate this list -BEGIN PGP SIGNATURE- Version: PGP Desktop Security 7.0 iQA/AwUBO2clBxjBpulM9x6SEQI0bgCghROA4ZNDKdk+BbIoL6I

Re: Using modules

2001-07-31 Thread Brett W. McCoy
On Tue, 31 Jul 2001, Ryan Davis/Pamela Karr wrote: > How can I change my @INC variable? Can I just: > > @INC = (@INC, "/home/me/libs/"); > > It seems like I would need to change it before my perl program starts... > Also, if I put a .pm file in one of the @INC dirs, will I be able to: > > use mo

Using modules

2001-07-31 Thread Ryan Davis/Pamela Karr
How can I change my @INC variable? Can I just: @INC = (@INC, "/home/me/libs/"); It seems like I would need to change it before my perl program starts... Also, if I put a .pm file in one of the @INC dirs, will I be able to: use module; even if it is not in the main system perl libs? Thanks, R

Re: flock()

2001-07-31 Thread Brett W. McCoy
On Tue, 31 Jul 2001, Adam Carson wrote: > does anyone know what needs to be loaded to use flock()? I am on a > win98 box with IndigoPerl. Be careful -- I think flock uses system calls that aren't available (or emulated) on Windows 98. See the perldoc on flock -- if it's causing a fatal error,

flock()

2001-07-31 Thread Adam Carson
does anyone know what needs to be loaded to use flock()? I am on a win98 box with IndigoPerl. Adam Carson MIS Department Berkeley County, SC -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: PERL and JavaScript

2001-07-31 Thread Bradley M. Handy
Have you thought of doing named anchors? (ie. ) If you use separate forms for each section, and direct them to the same script except at the end of the action URL you add '#anchor_name' w/o the quotes, the page should load up where you want it to. I have a very simple script to show my point.

Re: PERL and JavaScript

2001-07-31 Thread Curtis Poe
--- "Brett W. McCoy" <[EMAIL PROTECTED]> wrote: > On Tue, 31 Jul 2001, Chris Johnstone wrote: > > > I am a beginning PERL programmer working primarily > > with the CGI interface, and have just encountered my > > first problem which I couldn't solve with PERL. After > > about a solid week of tryin

Re: PERL and JavaScript

2001-07-31 Thread Brett W. McCoy
On Tue, 31 Jul 2001, Chris Johnstone wrote: > I am a beginning PERL programmer working primarily > with the CGI interface, and have just encountered my > first problem which I couldn't solve with PERL. After > about a solid week of trying different things, I gave > up and used a little JavaScript

RE: PERL and JavaScript

2001-07-31 Thread Bradley M. Handy
What kind of problems were you having with Perl? Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] > -Original Message- > From: Chris Johnstone [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 3:23 PM > To: [EMAIL PROTECTED] > Subject: PERL and JavaScript > > > I am a

Re: PERL and JavaScript

2001-07-31 Thread Lisa Nyman
Hi, On Tue, 31 Jul 2001, Chris Johnstone wrote: > My question is, do "professional" programmers working on large > applications using the CGI interface oftern turn to > JavaScript, or do they try to solve everything internally with PERL? As a 'professional', I turn to the tool that does the job

PERL and JavaScript

2001-07-31 Thread Chris Johnstone
I am a beginning PERL programmer working primarily with the CGI interface, and have just encountered my first problem which I couldn't solve with PERL. After about a solid week of trying different things, I gave up and used a little JavaScript code. My question is, do "professional" programmers wo

Re: Identifying Server Type

2001-07-31 Thread David Labatte
Or you could visit http://uptime.netcraft.com/up/graph/ and type the name of the web site in. Not as much fun as telnet, but they have such pretty graphs :) > To get the server, you can send a telnet request to port 80 and read the > header: > > On Tue, 31 Jul 2001, Frank J. Schmuck wrote:

Re: Identifying Server Type

2001-07-31 Thread Lisa Nyman
Hi, To get the server, you can send a telnet request to port 80 and read the header: telnet www.cnn.com 80 Connected to cnn.com. GET / HTTP/1.0 HTTP/1.1 200 OK Server: Netscape-Enterprise/4.1 Date: Tue, 31 Jul 2001 18:40:20 GMT etc. Be sure you enter two blank lines after the GET request. L

Identifying Server Type

2001-07-31 Thread Frank J. Schmuck
Is there a way to determine the operating system or server being run by a particular web location? Thanks Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

form-to-email script

2001-07-31 Thread Larry Mullis
The following script is supposed to email the contents of a form, but when I click "Send", no email is sent. The page returns with "The page cannot be displayed". Any help will be appreciated. Larry #!/usr/bin/perl -w #use strict; use CGI qw(standard); print header; my $mailprog = '/usr/s

Re: Hash of hashes

2001-07-31 Thread fliptop
Camilo Gonzalez wrote: > > The @model array is composed of condo unit numbers, 301-627ish. The values > may later be names so I'm treating them as strings. ok, now we're getting somewhere. i'm posting your original code here: > I'm trying to construct a hash of hashes from data sent to a scrip

"multipart/form-data" Method "POST" to cgi script not working

2001-07-31 Thread mlists
Hello all, If anyone could shed some light on this I would be in there debt. I know what the BIG problem is...these scripts where written in perl5.004 and we have moved or are moving to 5.6.0, but I don't know where to start looking to fix the code so that is works with 5.6.0. Th

Re: Sending Mail with CGI on Windows server

2001-07-31 Thread Mark Bergeron
Use Net::SMTP. You'll find it and supporting documentation on CPAN. -Original Message- From: "James Boeck"<[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Tue Jul 31 08:18:07 PDT 2001 Subject: Sending Mail with CGI on Windows server >Hello All, > >I too am a newbie in the world of perl.

RE: "multipart/form-data" Method "POST" to cgi script not working

2001-07-31 Thread mlists
I tried using your test script with my test.html that i sent and nothing -Original Message- From: Curtis Poe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 9:00 AM To: CGI Beginners Subject: RE: "multipart/form-data" Method "POST" to cgi script not working --- mlists <[EMAIL

RE: "multipart/form-data" Method "POST" to cgi script not working

2001-07-31 Thread Curtis Poe
--- mlists <[EMAIL PROTECTED]> wrote: > > Here is the code, the HTML page that is a template that is merged with the > %data hash handled by sub "merge_template" > I've even wrote little test pages and scripts just to test the data passing > and that is where i discovered the diff between "

RE: "multipart/form-data" Method "POST" to cgi script not working

2001-07-31 Thread mlists
Here is the code, the HTML page that is a template that is merged with the %data hash handled by sub "merge_template" I've even wrote little test pages and scripts just to test the data passing and that is where i discovered the diff between "POST" and "GET"...i will send those too... Du

Re: Exec cgi

2001-07-31 Thread Tiago Almeida Spritzer
1. Does leituradois.pl run from the command line? Yes. 2. Are there any entries in your error logs? No. 3. Can you run standalone CGI scripts through a browser (in other words, is your Web server configured to allow you to run those scripts)?. Yes. 4. Is .pl the corr

Sending Mail with CGI on Windows server

2001-07-31 Thread James Boeck
Hello All, I too am a newbie in the world of perl. I was wondering if any of you could explain to me how you send out mail from a CGI script when your server is a WinNT 4.0 or Win2k server. I figured it would be different since windows does not run sendmail. Thanks for the help, James H.

Re: Exec cgi

2001-07-31 Thread Lisa Nyman
Hi, Lotts of things could be going wrong. On Tue, 31 Jul 2001, Tiago Almeida Spritzer wrote: > Anybody help me with this question? > I have two folders at the server, one with perl files and other with > html files. I need that the page index.html execute perl file, and I know > that

Re: Exec cgi

2001-07-31 Thread Curtis Poe
--- Tiago Almeida Spritzer <[EMAIL PROTECTED]> wrote: > Hi, > > Anybody help me with this question? > I have two folders at the server, one with perl files and other with > html files. I need that the page index.html execute perl file, and I know > that this TAG do that . But I try and

Exec cgi

2001-07-31 Thread Tiago Almeida Spritzer
Hi, Anybody help me with this question? I have two folders at the server, one with perl files and other with html files. I need that the page index.html execute perl file, and I know that this TAG do that . But I try and don't obtain any result. Regards, Tiago Almeida Spritzer IBM

Re: "multipart/form-data" Method "POST" to cgi script not working

2001-07-31 Thread Brett W. McCoy
On Tue, 31 Jul 2001, mlists wrote: > This is a "multipart/form-data" form, using method "POST" I'm unable to > retrieve the params passed to the cgi via "$cgi->param('PARAM')", HOWEVER, > if the method is "GET" the "$cgi->param('PARAM')" works, but "GET" is not > supposed to work with "mult

Creating a new query object from an input file

2001-07-31 Thread Greg Matheson
I am trying to use part of the CGI module doc about giving a new object the parameters saved in a file. I am able to save the parameters to a file: >SAVING THE STATE OF THE SCRIPT TO A FILE: > >$query->save(FILEHANDLE) and I'm able to add to the parameters that an object alrea

Re: Creating a new query object from an input file

2001-07-31 Thread Greg Matheson
On Tue, 31 Jul 2001, Brett W. McCoy wrote: > On Tue, 31 Jul 2001, Greg Matheson wrote: > > #!/usr/local/bin/perl -w > > use CGI; > > # set a parameter and save it in a file > > open (OUT,">/home/greg/test.out") or die "No open greg/test.out: $!"; > > $p = new CGI; > > $p->param(-name=>'ID',-va

"multipart/form-data" Method "POST" to cgi script not working

2001-07-31 Thread mlists
Hello all, If anyone could shed some light on this I would be in there debt. I know what the BIG problem is...these scripts where written in perl5.004 and we have moved or are moving to 5.6.0, but I don't know where to start looking to fix the code so that is works with 5.6.0. Th

Re: Creating a new query object from an input file

2001-07-31 Thread Brett W. McCoy
On Tue, 31 Jul 2001, Greg Matheson wrote: > #!/usr/local/bin/perl -w > > use CGI; > > # set a parameter and save it in a file > open (OUT,">/home/greg/test.out") or die "No open greg/test.out: $!"; > $p = new CGI; > $p->param(-name=>'ID',-value=>'23423456'); > $p->save(OUT); > close OUT; > > # re

RE: Hash of hashes

2001-07-31 Thread Camilo Gonzalez
The @model array is composed of condo unit numbers, 301-627ish. The values may later be names so I'm treating them as strings. -Original Message- From: fliptop [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 7:02 PM To: Camilo Gonzalez Cc: [EMAIL PROTECTED] Subject: Re: Hash of has

Re: Sendmail

2001-07-31 Thread Adam Carson
Thanks Brett. I'll try that. Adam Carson MIS Department Berkeley County, SC >>> "Brett W. McCoy" <[EMAIL PROTECTED]> 07/30/01 05:19PM >>> On Mon, 30 Jul 2001, Adam Carson wrote: > If you are suggesti