Re: Still Not sure if I agree with myself.

2003-09-11 Thread fliptop
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

Re: Still Not sure if I agree with myself.

2003-09-11 Thread drieux
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

Date to seconds

2003-09-11 Thread Li, Kit-Wing
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

Re: Still Not sure if I agree with myself.

2003-09-11 Thread fliptop
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

Re: Date to seconds

2003-09-11 Thread Alexander Blüm
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 :

Re: Still Not sure if I agree with myself.

2003-09-11 Thread drieux
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 input type=hidden tag. oh yes, in this case the 'trigger' I use in say input type=hidden name=callForm

Perl/Linux problem.

2003-09-11 Thread Sara
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 etc,

RE: Perl/Linux problem.

2003-09-11 Thread Wiggins d'Anconia
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 for 500

Re: Perl/Linux problem.

2003-09-11 Thread Sara
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. : :

Re: Perl/Linux problem.

2003-09-11 Thread Sara
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

Re: Perl/Linux problem.

2003-09-11 Thread david
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 --

Re: Perl/Linux problem.

2003-09-11 Thread drieux
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 :

RE: Perl/Linux problem.

2003-09-11 Thread Jonathan E. Hogue
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

Re: Perl/Linux problem.

2003-09-11 Thread david
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 problems at