On 04/20/2007 07:29 PM, John Maverick wrote:
Folks,
Got a question regarding perl code in cgi script.
I am running below line of code in cgi script which doesn't work as
expected.
my $ticket = qx{echo $p4pass | p4 login -p $p4user};
Basically command has to return a ticket or error message. I
> Hi,
>My perl script which uses CGI module fails to work
> in Solaris giving Standard HTTP 500 Internal server
> error.I checked the Apache log. It says "Premature
> end of script headers:"
>
> But it works fine in HPUX and Windows. Is there any
> thing That has to be take care of in Solar
Naika - EV1 [[EMAIL PROTECTED]] quoth:
*>Can someone direct me to the cgi-perl list for beginners? I'm trying to find
*>it but am unable. If anyone has the subscribe headers for it that will do as
*>well, thanks.
http://lists.cpan.org/showlist.cgi?name=beginners-cgi
e.
--
To unsubscribe, e-mai
Prahlad Vaidyanathan wrote:
> Does emacs do syntax highlighting ? I've been using Vim for a very
> long time now, but last time I checked Emacs didn't do it.
Xemacs does. IMO not as good as Vim, but very good nonetheless. It's
been a very long time since I used Emacs, but I'm pretty sure it d
Hi,
On Sun, 06 Jan 2002 Brett W. McCoy spewed into the ether:
[-- snip --]
> You shouldn't use WordPad for writing Perl code (or any kind of code), you
> should get some kind of programmer's editor that can do syntax
> highlighting and has some kind of smarts about the syntax of the language
> yo
On Sat, 5 Jan 2002, mb wrote:
> >I have a question, real quick. Why use the < >section of html to print out instead of just print qq~ ~; for instance?
> What
> >are the advantages of using this other method?
> >
> I' m new on perl world but I found the < tedieus
> than
> print table( TR( td( "
>-Message d'origine-
>De : [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>À : mb <[EMAIL PROTECTED]>
>Cc : [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date : dimanche 6 janvier 2002 03:50
>Objet : Re: CGI perl html urgent
>
>
>>
>>Also, I ha
Subject: RE: CGI perl html urgent
Hi,
Different? -- I think of it as a way when i need larger amounts of text or
html tags or larger amounts of whatever.
But perhaps all it is is part of Perl's characteristic of "there's more
than one way to do it" (tmtowtdi)
I thin
-Message d'origine-
De : Robert Howard <[EMAIL PROTECTED]>
À : [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date : samedi 5 janvier 2002 13:38
Objet : RE: CGI perl html urgent
>I have a question, real quick. Why use the <section of html to print out instead of just pr
I have a question, real quick. Why use the <mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 3:43 PM
To: mb
Cc: [EMAIL PROTECTED]
Subject: Re: CGI perl html urgent
So many things were wrong:
Here is a cleanup version:
(See attached file: VoirStock.cgi)
I inserted line 21 for
So many things were wrong:
Here is a cleanup version:
(See attached file: VoirStock.cgi)
I inserted line 21 for my purposes, so uncomment line 20 and comment out
line 21
20 #$fichier = "../src/Stock.txt";
21 $fichier = "Stock.txt";
Output:
--
El Sun, 29 Jul 2001 11:57:22 EDT
[EMAIL PROTECTED] escribió:
>Hello there,
>
>Two questions, if anyone can help that would be great.
>
>I have this script that sets cookies.. 6 of them to be exact..
What script?
Regards.
--
__
Have you checked your permissions?
-Original Message-
From: Rahul Garg [mailto:[EMAIL PROTECTED]]
Sent: 16 July 2001 09:00
To: [EMAIL PROTECTED]
Subject: CGI-PERL!!!HELP!!!
Hello Everybody..
What i have done is placed a .cgi file in cgi-bin directory of web
One: don't put all those ! in your subject, it's quite annoying
Two: there's a beginners cgi list for just this sort of question
Three: if you want help, you might want to concider describing your problem
a bit more, as well as showing some code
Four: You might want to check, if you're on linux, w
Dear rahul,
Here is a sample code for something you want to do.
just add the file handling process to it.
Rajeev Rumale
___
Yesterday is history. Tomorrow a mystery.
Today is a gift. That's why it's called Present.
BTW: There is a beginners-cgi list:
http://lists.perl.org/showlist.cgi?name=beginners-cgi
I think this is partially what you are looking for.
hyperlink way to send parameters can be done in html page w/out cgi script:
http://www.yoursite.com/script.cgi?param=value,pa
Heya Rahul,
You'd probably find all this information in CGI.pm. It takes a bit to
get used to it, but after that, it's smooth sailing. For more info,
run this at your command prompt:
perldoc CGI
CGI.pm comes with the Perl distribution, so you don't have to worry about grabbing it
from CPAN,
>1. where( & how) to write code in perl script(HTML) for actions
>to occur on clicking hyperlinks .
In my very humble opinion, your best option here is to pass the script
information using the query_string. So, for example:
http://localhost/la.pl?sample_data
'sample_data' is then available from
You might want to look at the CGI.pm module. This should come installed with
the standard build of perl.
Docs for it can be found http://stein.cshl.org/WWW/software/CGI/ there.
You could also subscribe to the beginners-cgi mailing list. Go to
http://learn.perl.org details are there.
HTH
John
http://stein.cshl.org/WWW/software/CGI/cgi_docs.html
there is also an oreilly's book cgi programmin with perl
however I have found the best way is using the cgi.pm module
Licoln stein is the author he also has a book (the official guide to
programming with cgi.pm)
I have found it to be an ex
20 matches
Mail list logo