On Tue, 9 Sep 2003 at 14:50, Hanson, Rob opined:
HR:(ActiveState), or modules (Tk). This is a good list for any
HR:beginner(ish) question, no matter the subject... just as long as it is
HR:a Perl question.
i disagree - this list is for perl beginners cgi questions. if your perl
question does no
On Mon, 8 Sep 2003 at 15:36, drieux opined:
drieux - since no one has responded, i'll take a stab at some of the
issues you bring up.
d:One of my first question is - why the 'closure' eg:
d:
d:{
d: package FOO;
d:
d:}
d:
d:Or is that simply to make 'clear' that outside of
d:the Cl
On Thursday, Sep 11, 2003, at 05:51 US/Pacific, fliptop wrote:
[..]
drieux - since no one has responded, i'll take a stab at some of the
issues you bring up.
[..]
Thanks for the feed back.
In the code that I implemented, I did not use the Closure
to 'wrap' my Package - but I think as a 'GP safety
Hi,
Does anybody know of a quick method in perl to turn a date string into its
equivalent in seconds, include milliseconds if possible? Ex: 20030910
13:50:25.6 to 1063202644. Thanks much!
--
This message is intended o
On Thu, 11 Sep 2003 at 07:55, drieux opined:
d:simply because
d:
d: $obj->can($do);
d:
d:does not mean
d:
d: $obj->should($do);
d:
d:The problem I am looking for in my should() method
d:is a programatic way to solve Which Method to invoke
d:the correct sub to deal with a query string. I
Li, Kit-Wing wrote:
Hi,
Does anybody know of a quick method in perl to turn a date string into its
equivalent in seconds, include milliseconds if possible?
> Ex: 20030910 13:50:25.6 to 1063202644. Thanks much!
starting when?
I mean, you 1063202644 seconds, and these are
33years : 37weeks : 01d
On Thursday, Sep 11, 2003, at 12:17 US/Pacific, fliptop wrote:
[..]
the way i do it is to assign an action to each form. each action has
associated parameters. the form sends the action in an tag.
oh yes, in this case the 'trigger' I use in say
This way we do not have to have 'one cgi script
I recently installed RH 9.0 on my machine with pre-configured Apache and Perl.
I made a simple script "HELLO WORLD" to check the Perl and it gave me a continuous
error for "500 Internal Server Error" and "Premature End of Script Headers".
I double checked the perl path, permissions, httpd.conf e
On Thu, 11 Sep 2003 15:37:05 +0500, "Sara" <[EMAIL PROTECTED]> wrote:
> I recently installed RH 9.0 on my machine with pre-configured Apache and Perl.
>
> I made a simple script "HELLO WORLD" to check the Perl and it gave me a continuous
> error
Apache Error Log: "premature end of script headers"
Thanks,
Sara.
- Original Message -
From: "Wiggins d'Anconia" <[EMAIL PROTECTED]>
To: "Sara" <[EMAIL PROTECTED]>; "beginperl" <[EMAIL PROTECTED]>
Sent: Friday, September 12, 2003 3:45 AM
Subject: RE: Perl/Linux problem.
:
: --
Sara,
Wiggins is right, one of the questions is what exactly
did the Apache Error Log say was it's chief complaint.
The 'premature end of script headers' suggest that your
output does not have a content-type or there is
separating them.
eg:
[jeeves: 45:] test_cgi GET simple.cgi
Content-Type: text
Yep, I did that, tried every single option to remove this premature end of
script headers.
Do you think it has to do something with 'gedit' text editor? because I am
scripting in this editor for the very first time.
The scripts copied from Window XP machine have no problems at all, runing
smoothly
Sara wrote:
> Apache Error Log: "premature end of script headers"
>
>
[snip]
> output, verified the syntax is ok and there is no problem with this 3 line
> script, but in the browser it again failed to run.
since it's only a 3 liner, can you post it?
david
--
$_=q,01500145015401540157004001
On Thursday, Sep 11, 2003, at 06:05 US/Pacific, Sara wrote:
[..]
and simply
print "Content-Type: text/html\n";
print "Hello World\n";
that form will NOT have the separator
and I expect you see something like:
[..]
: [jeeves: 45:] test_cgi GET simple.cgi
: Content-Type: text/plain
: hello World
:
A cgi hello world script must have the headers in it.
For example,
#!/usr/bin/perl
print "Content-Type: Text/HTML\n\n";
print "Hello World";
-Original Message-
From: Sara [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 5:37 AM
To: beginperl
Subject: Perl/Linux problem.
I
Sara wrote:
> Yep, I did that, tried every single option to remove this premature end of
> script headers.
>
> Do you think it has to do something with 'gedit' text editor? because I am
> scripting in this editor for the very first time.
> The scripts copied from Window XP machine have no problem
16 matches
Mail list logo