RE: Time sensative Sub Routine

2002-02-20 Thread Al Hospers
> Ok I understand part of the Cron and it checking often to see > if a script > needs to be executed. But i still dotn understand if I set up > the HTML page > where the user selects the date they want the function to > happen, how do I > set up the CGI script to read this and how does the Cron >

RE: Time sensative Sub Routine

2002-02-20 Thread Patrick
Ok I understand part of the Cron and it checking often to see if a script needs to be executed. But i still dotn understand if I set up the HTML page where the user selects the date they want the function to happen, how do I set up the CGI script to read this and how does the Cron function know re

RE: Time sensative Sub Routine

2002-02-20 Thread Al Hospers
> I can not find any sub routines or scripts that allow for users to > pre-select dates for actions to be preformed. I have a > greeting card script > and want users to be able to send cards days in advance that > woulf only be > delivered on the requested date. there are likely not any precanned

Re: SHIFT in a subroutine

2002-02-20 Thread Brett W. McCoy
On Wed, 20 Feb 2002, Curtis Poe wrote: > Great description with one minor caveat: shift with no arguments will > pull from @ARGV if not used in a subroutine. Yes, thanks for pointing that out. -- Brett http://www.chapelperilous.net/ ---

Re: What is the value of @_4_[0], and $return_me? (see below)

2002-02-20 Thread W P
also, it seems you might have left out a comma between the 'a' and 1 in this: >>my @arr = (0, 'a' 1, 'b'); -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Time sensative Sub Routine

2002-02-20 Thread Patrick
Using the Cron function on the server is not a problem. The promlem I have is not knowing how to set up the commands in the script and the HTML form that would let the users choose when they want the action preformed. From what I understand with the cron function, is that it will run the script at

inputting a text file into an HTML page

2002-02-20 Thread Patrick
ok I have the CGI script that will generate an html page based on what the user selects. I also want to give the user the oportunity to choose one of many different text files that can also be inputted into the html page via the cgi script. I have the opening tags and closing tags and tables set u

Re: SHIFT in a subroutine

2002-02-20 Thread Curtis Poe
--- "Brett W. McCoy" <[EMAIL PROTECTED]> wrote: > On Wed, 20 Feb 2002, Nestor Florez wrote: > > > I was wondering about the "shift" inside a subroutine. > > > > I have never used it. What is the purpose of it been there? > > It pulls off the first element of the array passed to it. Using shift

Re: SHIFT in a subroutine

2002-02-20 Thread Brett W. McCoy
On Wed, 20 Feb 2002, Nestor Florez wrote: > I was wondering about the "shift" inside a subroutine. > > I have never used it. What is the purpose of it been there? It pulls off the first element of the array passed to it. Using shift with no arguments always pulls from @_ -- it returns $_[0] an

SHIFT in a subroutine

2002-02-20 Thread Nestor Florez
I was wondering about the "shift" inside a subroutine. I have never used it. What is the purpose of it been there? Thanks in advance, Nestor :-) - Original Message - From: "Stephen.Hurley" <[EMAIL PROTECTED]> To: "'Bruce Ambraal'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wed

Linux Box,

2002-02-20 Thread Sir Douglas Cook
Hi Doug here. I want to create a service like http://twistedhumor.com/ from a home server I have a old Pentium 1 PC which used to run VVindows 98 and I was wondering what type of "MODEM/NETCARD" do I need to run RedHatLinux to run Apache to run CGI/Perl? - And if I get a Bell Dialup connect

[ADMIN REDIRECT] Re: Regular Expressions

2002-02-20 Thread Kevin Meltzer
Hello, I am redirecting this question from beginners-cgi to beginners. Please respond to the original poster ([EMAIL PROTECTED]) and the beginners list. Please remember that non-CGI related questions should not be send to beginners-cgi. Thanks. Cheers, Kevin On Wed, Feb 20, 2002 at 01:13:55PM -

Regular Expressions

2002-02-20 Thread Lilian Alvarenga Caravela Godoy
Hi everyone I am trying to learn Perl looking into some scripts. One of them has a regular expression inside. First of all, I need to know what two specific lines are doing. The code is bellow. $req =~ s/\r//g ; $req =~ s/([^\n]{72,72})\n([^\n]{1,71})\n([^\n]{1,71})$/$1\n$2$3/ I know they are

RE: What is the value of @_4_[0], and $return_me? (see below)

2002-02-20 Thread Stephen.Hurley
Well, for a start, you have a spelling mistake in there... my $retun_me = shift; - probably should be - my $return_me = shift; Secondly, what exactly are you trying to do with this code ? I don't know too much about perl, but I think the assignment: @_ = @arr; might be a little suspicious. I

Fwd: What is the value of @_4_[0], and $return_me? (see below)

2002-02-20 Thread Bruce Ambraal
OOPs! I meant Fwd: What is the value of @_$_[0], and $return_me? (see below) --- Begin Message --- Hi 1. (see subject) 2. Explain lines 3 , 4 3.Why does'nt this coding return anything2 sub routine { my @arr = (0, 'a' 1, 'b'); @_ = @arr; my $retun_me = shift; return( $return_me ) }; -- To

Re: Printing data into a file every time some presses

2002-02-20 Thread Bruce Ambraal
Hi Zentara I haven't forgotten..., thanks so much for your assistance. Appreiciation. thanks again Cheers :) Bruce -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

What is the value of @_4_[0], and $return_me? (see below)

2002-02-20 Thread Bruce Ambraal
Hi 1. (see subject) 2. Explain lines 3 , 4 3.Why does'nt this coding return anything2 sub routine { my @arr = (0, 'a' 1, 'b'); @_ = @arr; my $retun_me = shift; return( $return_me ) }; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Global Constants in Perl ?

2002-02-20 Thread Sir Douglas Cook
Hi Doug here. I would like to include this information (see below) at the top of all of my CGI scripts. In such a way that if I upload all of my CGI scripts to a different server all I have to do is change one file and all of my scripts should work on the new server.

Perl and SSL

2002-02-20 Thread Francisco Javier
Hello all, My problem is that I have two GCIs that work without no problem under HTTP, but does not happen the same under HTTPS. Under HTTPS, the first cgi load without no problem, when from the first cgi pulse the button "continue" and I redirect to the second cgi leaves the page to me error