Re: Free Mac Private Perl server

2001-10-17 Thread Shannon Murdoch
>> Couldn't find the AFAIK version of MacPerl (CPAN was down, as usual) using >> the www.macperl.com link. > > No, no, AFAIK means "as far as I know". :) Haha sorry- never seen that abbreviated before - guess I don't belong here then... :) > >> Are you able to give me some direct binary link

Re: Free Mac Private Perl server

2001-10-17 Thread RaFaL Pocztarski
Shannon Murdoch wrote: > Couldn't find the AFAIK version of MacPerl (CPAN was down, as usual) using > the www.macperl.com link. No, no, AFAIK means "as far as I know". :) > Are you able to give me some direct binary links at all? Sorry, I've never used Mac. I thought the links I gave you was

Re: Free Mac Private Perl server

2001-10-17 Thread Shannon Murdoch
> You can find precompiled Apache binaries for Mac here: > http://httpd.apache.org/dist/httpd/binaries/ Only a MacOS X version was available. Pity- I dislike OSX very much, but have it installed on another partition for intrests' sake... (I can restart and be in OSX, and then restart to be back

Re: Free Mac Private Perl server

2001-10-17 Thread RaFaL Pocztarski
Shannon Murdoch wrote: > I've got a PC emulator on my Mac running WinNT, Apache and the latest > version of Perl for web-testing my scripts while I'm offline. Is there a > way I can web-test them natively using my Mac? I assume I'll need some sort > of free or shareware webserver for Mac and so

Free Mac Private Perl server

2001-10-17 Thread Shannon Murdoch
Hi all, just thought I'd pick your brains regarding a possibly theoretical question (tell me if it's not!)... I've got a PC emulator on my Mac running WinNT, Apache and the latest version of Perl for web-testing my scripts while I'm offline. Is there a way I can web-test them natively using my M

Re: XMLParser and Perl

2001-10-17 Thread Kevin Meltzer
Hi Art, What exactly are you looking for? You can look at the documentation for XML::Parser, XML::Simple, or any of the other XML::* modules. There are articles relating to XML and Perl on www.xml.com, and on www.perlmonks.com (search for some XML Q&A). There are Perl/XML related mailing lists wh

XMLParser and Perl

2001-10-17 Thread Art Saucedo
Is there such information and where can we look it up. Thanks! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: configuring apache to run cgi -perl on win32 system

2001-10-17 Thread rabs
Id like to say a big thankyou to everyone who help me with this.. - Original Message - From: "rabs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 16, 2001 6:06 PM Subject: configuring apache to run cgi -perl on win32 system > > > Subject: configuring apache to run c

RE: CGI.pm hidden field problem

2001-10-17 Thread David Gilden
Thanks! On Wednesday, October 17, 2001 at 3:40 PM, [EMAIL PROTECTED] (Bob Showalter) wrote: > > print "\n"; > > print hidden( > > -name => last_message_num, > > -value => $message_num, > > # -override=> 1 > > ); This works! > > Try this: > >param('last_message_num', $message_num); >

RE: Parsing HTTP links

2001-10-17 Thread Dave Newton
RaFaL Pocztarski wrote: > [EMAIL PROTECTED] wrote: >> I need to parse out all http links stored in a local file. > You mean HTML links. Actually, while the answer doesn't change, we don't know that this is what he meant. For example, he might not want ftp:// or mailto:, both of which are HTML li

RE: new html window

2001-10-17 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 17, 2001 4:01 PM > To: CGI Beginners > Subject: new html window > > > hello all- > i'm writing a formmail-esque script that checks for required > fields coming > in from the html form.

RE: CGI.pm hidden field problem

2001-10-17 Thread Brian Arnold
Using this: param('last_message_num', $message_num); print hidden(-name => 'last_message_num'); will work too, but for some reason it still worked for me on another script I was writing when I did print hidden(-name => "name", -default => "value", -overri

Re: new html window

2001-10-17 Thread Lynn Glessner
I think it will work if you add target=_blank, but I don't have anything handy to check for exact syntax - Original Message - From: <[EMAIL PROTECTED]> To: "CGI Beginners" <[EMAIL PROTECTED]> Sent: Wednesday, October 17, 2001 1:01 PM Subject: new html window > hello all- > i'm writing a

Re: new html window

2001-10-17 Thread Brett W. McCoy
On Wed, 17 Oct 2001 [EMAIL PROTECTED] wrote: > i'm writing a formmail-esque script that checks for required fields coming > in from the html form. should a field be missing user input, i'd like to > have a new html window open displaying the missed fields. > i'm familiar with using the Location f

new html window

2001-10-17 Thread charles
hello all- i'm writing a formmail-esque script that checks for required fields coming in from the html form. should a field be missing user input, i'd like to have a new html window open displaying the missed fields. i'm familiar with using the Location function to redirect the current browser

RE: CGI.pm hidden field problem

2001-10-17 Thread Bob Showalter
> -Original Message- > From: David Gilden [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 17, 2001 12:56 PM > To: [EMAIL PROTECTED] > Subject: CGI.pm hidden field problem > > > Hello, > > I am taking a stab at a SQL driven guest-book, > the problem is with getting the field to

RE: CGI.pm hidden field problem

2001-10-17 Thread Moon, John
Try the pragma use CGI qw/-nosticky/; but I ended up doing a $q->delete_all(); after I process the form variables. But I first put all of the form variables in a hash pre-loaded with "default" values - for the form variables I don't receive back but use. So I don't really work with $q->param

Re: produce questions

2001-10-17 Thread Casey West
On Oct 17, 2001 at 10:55 -0700, nayyreh atabakhsh took the soap box and proclaimed: : Hi group : : I am looking for the programm in perl that produce : this information : : The name of the file should be the same as the user's : name. : The list of questions to ask the user must be stored : i

Re: How to save and retreive form

2001-10-17 Thread Lynn Glessner
Despite the advice to store the form data in a database instead of a flat file, I finally set up the script the way I had in mind, with a directory structure created as needed on my web server and the information in a flat file. It works great. Of course, now that my husband can actually see this

produce questions

2001-10-17 Thread nayyreh atabakhsh
Hi group I am looking for the programm in perl that produce this information The name of the file should be the same as the user's name. The list of questions to ask the user must be stored in a file. If the same user runs your script again, then the previous answers for each question should

RE: CGI.pm hidden field problem

2001-10-17 Thread David Gilden
Still can't get it to wrk! Do a view source, http://dowda.rockin.net/cgi/sqlguestbook.cgi It just ain't working no mater what I try! Lincoln Stein's CGI.pm book says that you can use default,value or values interchangeably. D. On Wednesday, October 17, 2001 at 1:04 PM, [EMAIL PROTECTED] (

Re: Re: Multi-page CGI Form

2001-10-17 Thread Mark Bergeron
Or just buy the book. It's well worth it and you can't ever have enough reference material. Programming the Perl DBI http://shop.barnesandnoble.com/booksearch/isbnInquiry.asp?userid=1918H3HRHT&mscssid=KNL4Q147KKCQ8M1M2CN2JSL398UL1QQ9&isbn=1565926994 It's a lot faster then searching all over the

RE: CGI.pm hidden field problem

2001-10-17 Thread Brian Arnold
Try this for your creation of the hidden variable print hidden( -name => last_message_num, -default => $message_num, # -override=> 1 ); If last_message_num is already defined in your CGI object, you'll have to use the override option like you have it here, just uncomment it. This one screwed m

CGI.pm hidden field problem

2001-10-17 Thread David Gilden
Hello, I am taking a stab at a SQL driven guest-book, the problem is with getting the field to take the value of $message_num, (see the end of this script) I can see it in the ok, but not in the hidden field (I have tried with override and with out -- not sure what this is for!) I welcome a

HTML::Parser

2001-10-17 Thread Greg . Froese
Does anybody have the hstrip example mentioned in the HTML::Parser documenation that shows you how to stip out specific tags from an HTML file. I can't find the example, maybe I'm missing something really obvious. Thanks Greg

Re: Multi-page CGI Form

2001-10-17 Thread Randal L. Schwartz
> "Justin" == Justin Howell <[EMAIL PROTECTED]> writes: Justin> OK, I'm a newbie trying to do things in perl that are smarter Justin> than I am. I'm working on a CGI clock-in program for where I Justin> work, and I want it to be one CGI script with multiple pages, Justin> each a step in the

Re: (simple) cgi.pm question

2001-10-17 Thread Shannon Murdoch
Thanks guys! You're 2 minutes of wisdom has brought my 100+ line script down to 20 or so =) Thanks for your continued support of this newsgroup and its users! -Shannon Murdoch > You could write something like this: > > print join "\t", @params{'q001'..'q100'}; > > instead of: > > print "$p

need help with this.

2001-10-17 Thread Gareth Londt
hi Below is the cod that i wrote .but everything runs fine except when i put in a group of email addresses and thne click the send button then it says that "bad or missing from address"...but i have specified a from address. can someone hepl with this? #!/usr/bin/perl -w use stric

Re: mail help?

2001-10-17 Thread fliptop
Gareth Londt wrote: > > i am using the Mail::Sendmail module and well i have it working all nicley > and stuff but this is were it doent work the way i want it to. > Firstly i have a text area that needs to filled in with a few email addresses, > but when i use the regexp for this value in the t

user name

2001-10-17 Thread Grierson, Garry (UK07)
Do you want to do this from a CGI script ? If you have a HTML form asking for USERNAME it can call something like: In HTML Page: Please enter an username: In Perl CGI: use strict; use CGI; my $q = new CGI; my $username = $q->param('username'); if ($username eq ''){