Re: CGI

2009-06-08 Thread Irfan Sayed
Thanks . it worked. regards irf From: Owen To: Irfan Sayed Cc: beginners@perl.org Sent: Tuesday, June 9, 2009 12:03:49 PM Subject: Re: CGI > Hi ALL, > > i have written sample cgi script in perl. here it is > > #!/usr/bin/perl > print "Content-type: text/ht

Re: CGI

2009-06-08 Thread Dave Tang
On Tue, 09 Jun 2009 16:16:41 +1000, Irfan Sayed wrote: Hi ALL, i have written sample cgi script in perl. here it is #!/usr/bin/perl print "Content-type: text/html\n\n"; print <   Welcome to CGI scripting           HI Try putting the HI at the start of the line. but when i a

Re: CGI

2009-06-08 Thread Owen
> Hi ALL, > > i have written sample cgi script in perl. here it is > > #!/usr/bin/perl > print "Content-type: text/html\n\n"; > print < > >   Welcome to CGI scripting >     >   >     HI > > but when i am trying to execute this script it throws me an error like > > Can't find string te

CGI

2009-06-08 Thread Irfan Sayed
Hi ALL, i have written sample cgi script in perl. here it is #!/usr/bin/perl print "Content-type: text/html\n\n"; print <   Welcome to CGI scripting           HI but when i am trying to execute this script it throws me an error like Can't find string terminator "HI" anywhere befo

Re: HTML Template

2009-06-08 Thread dan
On Tue, 9 Jun 2009 08:42:04 +0800, practicalp...@gmail.com wrote: > Hello, > > I will begin a new project, which is medium large, with about 200 CGI > scripts with Perl. > We have designers who make HTML/JS/CSS etc. > I want to choose a template system which will let perl code be > separated from

Re: HTML Template

2009-06-08 Thread Raymond Wan
Hi Jenn, practicalp...@gmail.com wrote: I will begin a new project, which is medium large, with about 200 CGI scripts with Perl. We have designers who make HTML/JS/CSS etc. I want to choose a template system which will let perl code be separated from front-page codes (like html,css etc). I hav

HTML Template

2009-06-08 Thread practicalperl
Hello, I will begin a new project, which is medium large, with about 200 CGI scripts with Perl. We have designers who make HTML/JS/CSS etc. I want to choose a template system which will let perl code be separated from front-page codes (like html,css etc). I have tried HTML::Template, which is simp

Re: FW: Question about split

2009-06-08 Thread Gene
>From my understanding, the splitter always associated with two parts, the front part and back part, in your example, the first splitter is "Welcome to openSUSE ", whose front part is blank, so the first element of @numbers should be empty. You can try a simpler example as follows: $_ = ":0"; my

RE: suppressing Use of uninitialized value in pattern match (m//)

2009-06-08 Thread Ajay Kumar
Just redirect in some temporary file Like Open STDERR,">/den/null"; That's it -Original Message- From: Noah Garrett Wallach [mailto:djb...@sffun.org] On Behalf Of admin2 Sent: Thursday, May 28, 2009 5:38 AM To: Perl Beginners Subject: suppressing Use of uninitialized value in pattern m

Re: CGI scripting

2009-06-08 Thread Irfan Sayed
From: Eko Budiharto To: Irfan Sayed Cc: beginners@perl.org Sent: Monday, June 8, 2009 1:17:59 PM Subject: Re: CGI scripting Regards Irf On Mon, Jun 8, 2009 at 2:06 PM, Irfan Sayed wrote: > Hi All, > > I need to configure Apache web server to execute the CG

FW: Question about split

2009-06-08 Thread Ajay Kumar
Because first element of the array is empty -Original Message- From: sanket vaidya [mailto:sanket.vai...@patni.com] Sent: Wednesday, May 27, 2009 4:16 PM To: beginners@perl.org Subject: Question about split Hi all, Kindly look at the code below: use warnings; use strict; $_ = '

Help with array sort

2009-06-08 Thread --[ UxBoD ]--
First post so please be gentle :) I have a two dimensional array which needs to be sorted in a specific order but cannot think how to do it. The array looks like :- [ABC][ADG] [DEF][XYZ] [GHI][JKY] [ABC][BHT] [GHI][KUL] [DEF][TRU] .. but I want to end up with a order where it looks like :- [A

Re: CGI scripting

2009-06-08 Thread Eko Budiharto
On Mon, Jun 8, 2009 at 2:06 PM, Irfan Sayed wrote: > Hi All, > > I need to configure Apache web server to execute the CGI scripts (in perl). > Servers has windows XP operating system. > i have downloaded apache but i am not able to see any www folder in the > installed dir. of apache. > > do i ne

AW: CGI scripting

2009-06-08 Thread Thomas Bätzler
Irfan Sayed asked: > I need to configure Apache web server to execute the CGI scripts (in > perl). Servers has windows XP operating system. Did you try Google? The first hit for me on "apache windows cgi" was: http://www.thesitewizard.com/archive/addcgitoapache.shtml And please ask Apache quest

CGI scripting

2009-06-08 Thread Irfan Sayed
Hi All, I need to configure Apache web server to execute the CGI scripts (in perl). Servers has windows XP operating system. i have downloaded apache but i am not able to see any www folder in the installed dir. of apache. do i need to configure IIS on this machine? and then manualy create the