RE: trying to write to a file

2001-10-26 Thread Grierson, Garry (UK07)
Try this: open(FILENAME, changes.txt); print FILENAME Things and Stuff; close(FILENAME); You just seem to be missing the ( ) -Original Message- From: Matthew Mangione [SMTP:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 5:35 PM To: Linux Beginners Subject: trying to

embperl without modperl?

2001-10-26 Thread John Moylan
Hello All I'm having trouble getting my host to install some sort of Perl templating system on thier Linux server. You see I dont't have time to learn PHP, I dont want to learn VBScript but would like something similar to those, but using Perl as the lang. I asked for any of the following to be

Table OO

2001-10-26 Thread angelo . bettati
Hi to All, I' d like to create a table in which put the data read from a database using Perl Object-Oriented language. Now I' ve created this functional table, and I' d like to re-write it in object-oriented: use CGI; use Win32::ODBC; my $q = new CGI; $db = new Win32::ODBC(DSN=connection.dsn;)

Re: SSL and CGI

2001-10-26 Thread fliptop
Scott R. Godin wrote: is there a reasonably simple way for a cgi script to tell whether it's being accessed through SSL or not? just curious. I'd like to play with the thought a bit, and want to have my test script report an error if it gets accessed without SSL. hi scott, i didn't see

Re: autoresponder?

2001-10-26 Thread fliptop
David Gerler wrote: I want to write a script to handle emails sent to a specific address. I want it to respond in specific ways. My problem is I don't know where to start. Where can I get documentation about this? Recommended books maybe. http://search.cpan.org/search?dist=Mail-Audit --

Re: Faking form variables

2001-10-26 Thread Greg . Froese
Curtis, What is the syntax for passing these values through the url? Greg Curtis Poe [EMAIL PROTECTED] 10/25/2001 01:44 PM Please respond to poec To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject:Re: Faking form variables --- [EMAIL PROTECTED]

Is this legitimate

2001-10-26 Thread Donavon Pfeiffer
Is this a legitimate regex for substituting hex cahrs in a string (I'm leaving the replacement string out as I know it's right): $letter=~s/%[a-fA-F0-9][a-fA-f0-9]/(pack function)/eg; What I want to know is if the [a-fA-F0-9] the correct format. Thanks, Donavon -- To unsubscribe,

Re: Is this legitimate

2001-10-26 Thread _brian_d_foy
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Donavon Pfeiffer) wrote: Is this a legitimate regex for substituting hex cahrs in a string (I'm leaving the replacement string out as I know it's right): $letter=~s/%[a-fA-F0-9][a-fA-f0-9]/(pack function)/eg; just use CGI.pm and you don't

small question?

2001-10-26 Thread Nate Brunson
when perl reads in $ENV{'REMOTE_ADDR'} is it a number or a string? and if its a number what do i have to do to compare it to a string, IE: $ipaddy = $ENV{'REMOTE_ADDR'}; if ($ipaddy eq $blah){ #do something here } were $blah is a string. should i convert $blah to a number,

CGI displaying raw HTML in Netscape....

2001-10-26 Thread Jimmy Lewis
Mike, I have sent you the entire script in this zip file. If you have a chance I would greatly appreciate any help you could offer on the Netscape problem I'm having. I spoke to someone who said there may be an Active-X call in the CGI that only IE would handle. Thanks so much for

Re: Docs

2001-10-26 Thread Scott R. Godin
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Lisa Nyman) wrote: Where's a good place to find documentation in HTML of the CGI and DBI modules? CGI: http://stein.cshl.org/WWW/CGI/ DBI: http://dbi.symbolstone.org/index.html Lisa Wolfisch Nyman [EMAIL PROTECTED] IT Warrior

Re: (simple) cgi.pm question

2001-10-26 Thread Scott R. Godin
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Rafal Pocztarski) wrote: You could write something like this: print join \t, @params{'q001'..'q100'}; or for a slightly better golf score print $params{$_}\t for sort keys %params; # that is the correct idiom, right? instead

Re: somone please help

2001-10-26 Thread Scott R. Godin
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Rafal Pocztarski) wrote: Gareth Londt wrote: can someone please help me with this problem? Well... It strongly depends on your problem.. :) - RaFaL Pocztarski, [EMAIL PROTECTED] *chuckle* yeah, don't press post when you mean to press