RE: Using cgi.pm for checkbox goups

2004-11-15 Thread Charles K. Clarkson
Johnstone, Colin <[EMAIL PROTECTED]> wrote: Please use beginners-cgi to ask CGI related questions. : Gidday all, : : I have created a form with a group of checkboxes (see code : below) : : I wish to use cgi.pm to process it. : : When I use : : my @deployBranch = $cgi->{form}{'dep

Using cgi.pm for checkbox goups

2004-11-15 Thread Johnstone, Colin
Gidday all, I have created a form with a group of checkboxes (see code below) I wish to use cgi.pm to process it. When I use my @deployBranch = $cgi->{form}{'deployBranch'}; my $list; if ( @deployBranch ) { $list = join ', ', @deployBranch; } else {

printing 2 Cache-Control header using CGI.pm

2004-11-10 Thread victor
I would like to print out these header using CGI.pm Cache-Control: no-store, no-cache, must-revalidate Cache-Control: post-check=0, pre-check=0 doing $cgi->header(-"Cache-Control"=>"no-store, no-cache, must-revalidate", -"Cache-Control"=>

Re: set a cookie and redirect using CGI.pm

2003-12-03 Thread Wiggins d Anconia
> > > Hello > > I want to set a user cookie and redirect to a different URL on the same domain. > I searched and found alternate ways of doing it. > > I am looking for a way to do using CGI.pm > > Suggestions? > What have you tried and what didn't wo

set a cookie and redirect using CGI.pm

2003-12-03 Thread Aman Raheja
Hello I want to set a user cookie and redirect to a different URL on the same domain. I searched and found alternate ways of doing it. I am looking for a way to do using CGI.pm Suggestions? Thank you Aman

RE: passing a hash using cgi.pm

2002-02-07 Thread Josiah Altschuler
If this is the case, are there any ways to fix this problem? Thanks for the help, Josiah -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 11:32 AM To: 'Josiah Altschuler'; '[EMAIL PROTECTED]' Subject: RE: passing a has

RE: passing a hash using cgi.pm

2002-01-09 Thread Josiah Altschuler
Ok works great. Thanks for the help. Josiah -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 11:38 AM To: 'Josiah Altschuler'; '[EMAIL PROTECTED]' Subject: RE: passing a hash using cgi.pm > -Original M

RE: passing a hash using cgi.pm

2002-01-08 Thread Bob Showalter
> -Original Message- > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 08, 2002 11:32 AM > To: 'Josiah Altschuler'; '[EMAIL PROTECTED]' > Subject: RE: passing a hash using cgi.pm > > Something like this should work, letting

RE: passing a hash using cgi.pm

2002-01-08 Thread Bob Showalter
> -Original Message- > From: Josiah Altschuler [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 08, 2002 11:05 AM > To: '[EMAIL PROTECTED]' > Subject: passing a hash using cgi.pm > > > Hi. I'm having trouble passing a hash from one program to

passing a hash using cgi.pm

2002-01-08 Thread Josiah Altschuler
Hi. I'm having trouble passing a hash from one program to another through a link using cgi.pm. My first program passes the hash like this (it's actually a hash that is one element of an array of hashes): print pre a ( { -href => "http://140.247.111.176/cgi-bin/redun

Re: Using CGI.pm on MacOS X

2001-12-24 Thread John W. Krahn
Jim Witte wrote: > >How do I get CGI.pm to work on MacOS X? I set up a script: > -- > #!/bin/sh ^^ This means you are telling the OS that this is a Bourne shell script _not Perl_. You need to start perl programs like this: #!/usr/bin/perl Or preferably like this: #!/usr/bin/perl

Using CGI.pm on MacOS X

2001-12-24 Thread Jim Witte
How do I get CGI.pm to work on MacOS X? I set up a script: -- #!/bin/sh use CGI qw(:standard); echo Content-type:text/plain echo echo This is text -- which works, but if I try to use any of CGI.pm's functions (print header, for example), it gives me a server error. Thanks, Jim -- To unsu

Using CGI.pm

2001-07-19 Thread Alessandro Lenzen
I think your header is spelled wrong, try print "Content-Type: text/html \n\n"; ^there is the bugger! But why would you want to print the header manually when using CGI.pm? al -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using CGI.pm

2001-07-19 Thread Brett W. McCoy
On Thu, 19 Jul 2001, Sascha Kersken wrote: > That $a in the first script, to me, looks like an OO-style CGI Query object. > This has to be created before use: > > $a = new CGI; Using $a and $b for variables is not a good idea, since they are used for sort and can cause some wierd warnings or e

Re: Using CGI.pm

2001-07-19 Thread Sascha Kersken
Hi! That $a in the first script, to me, looks like an OO-style CGI Query object. This has to be created before use: $a = new CGI; Sascha Original Message: > Randal, Brian, Stephen, > Thanks a bunch for your help with my parsing script. I appreciate it very > much. Here's another pr

Using CGI.pm

2001-07-19 Thread Customer Service
Randal, Brian, Stephen, Thanks a bunch for your help with my parsing script. I appreciate it very much. Here’s another problem: Why doesn’t this do what I think it should do? (I just get “Internal server error”) #!c:/perl/bin/perl -w use strict; use CGI qw(param); my ($who,$quote_type,$key)