Re: Parsing problem

2002-08-19 Thread Connie Chan
> C++ program's output looks like this: > > A= 20 > B= 30 > C= 70 > AVG= 40 > MIN= 30 > MAX= 70 > TIME= 0.0037 > > If I call this in Perl: > > #!/usr/bin/perl -w > my $result = `myapp`; replace as : my @results = `myapp`; > exit; > > there is output myapp saved in $result > > How to move va

Parsing problem

2002-08-19 Thread Ing . Pavel Koutný
I need help with this: C++ program's output looks like this: A= 20 B= 30 C= 70 AVG= 40 MIN= 30 MAX= 70 TIME= 0.0037 If I call this in Perl: #!/usr/bin/perl -w my $result = `myapp`; exit; there is output myapp saved in $result How to move values from $result to my vari

Re: Online installer

2002-08-19 Thread Todd Wade
"Soheil Shaghaghi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear Connie, Hello and thanks again :) I just wanted to show you and everyone else who is interested in this subject a much better example: http://www.iwebsupport.com/cgi-bin/dsx.cgi?app=Installer

Re: Can't locate loadable object DBD::mysql in @INC

2002-08-19 Thread Wiggins d'Anconia
Sounds interesting, alas don't think I can help on this one, I am using the list through normal e-mail as my ISP is disallowing news group usage temporarily. http://danconia.org David Zhuo wrote: > when i hit the "Reply To All" button, my message is sent but it never > appear in th

Re: How to set cookies for an SHTML document?

2002-08-19 Thread Wiggins d'Anconia
The way I understand things, cookies must be printed before the header is returned (though this may have changed in HTTP/1.1, anyone?) In which case setting a cookie from within an SSI non-javascript is not possible. A cookie is just specifically formatted text being printed before the Content

How to set cookies for an SHTML document?

2002-08-19 Thread Octavian Rasnita
Hi all, I have an SHTML file and I want to set cookies for it. Is this possible? I've tried to use server side includes to set a cookie using that script used as SSI but it doesn't set the cookie. The script sets the cookie if it is not included in an html file, but if it is, it doesn't want t

Re: Can't locate loadable object DBD::mysql in @INC

2002-08-19 Thread David Zhuo
when i hit the "Reply To All" button, my message is sent but it never appear in the news reader and i don't know why? i can see everyone else's message but my own posted/replied message never appear in the mailing list... david On Mon, 2002-08-19 at 15:40, Wiggins d'Anconia wrote: > SOrry...I wa

Re: Can't locate loadable object DBD::mysql in @INC

2002-08-19 Thread Wiggins d'Anconia
SOrry...I was referring to the BEGIN around the push as being the old way, which is now less favored to the use lib way. Don't understand the question, though I think it probably has something to do with having to group reply?? http://danconia.org David Zhuo wrote: > yeah. not sure what you

Re: Can't locate loadable object DBD::mysql in @INC

2002-08-19 Thread David Zhuo
yeah. not sure what you mean by "old" way thought? use lib is safer and is the preferred method most of the time because you don't want your script to die mid-way during run time. you want to catch the error as soon as possible before your script even start. by the way, when i reply, how come i

Re: Can't locate loadable object DBD::mysql in @INC

2002-08-19 Thread Wiggins d'Anconia
aka, use lib is like placing the push in a BEGIN blockwhich I think was the "old" way of doing things... David Zhuo wrote: > push @INC, 'the/path/you/want' > > is different than: > > use lib 'the/path/you/want' > > from a user's perspective, they are the same but they are not under the

Re: Can't locate loadable object DBD::mysql in @INC

2002-08-19 Thread David Zhuo
push @INC, 'the/path/you/want' is different than: use lib 'the/path/you/want' from a user's perspective, they are the same but they are not under the hood. what happen is that that push statement is a run time statement. the use lib statement is a compile time statement. don't confuse the 2. t

Re: Can't locate loadable object DBD::mysql in @INC

2002-08-19 Thread Connie Chan
or can try push @INC, 'the/path/you/want'; Rgds, Connie - Original Message - From: "root" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 20, 2002 2:19 AM Subject: Re: Can't locate loadable object DBD::mysql in @INC > to force @INC to look at the directory of your

Re: Can't locate loadable object DBD::mysql in @INC

2002-08-19 Thread root
to force @INC to look at the directory of your DBI library, use: use lib "your DBI directory" along the top of your script david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CGI script problem

2002-08-19 Thread Connie Chan
[...] > > print "Content-type: text/plain\n\n"; [...] Try print "Content-type: text/html\n\n" instead of "text/plain\n\n"; Rgds, Connie -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[ADMIN - REDIRECT] Re: CGI script problem

2002-08-19 Thread Kevin Meltzer
This message is being redirected to the beginners-cgi list. Please answer on that list, and to the original poster. Thanks. Cheers, Kevin On Mon, Aug 19, 2002 at 04:11:14PM +0100, Matt Wetherill ([EMAIL PROTECTED]) said something similar to: > Hi list, > > I'm just trying to get started with c

ActiveState's Komodo - Is it any good?

2002-08-19 Thread Geraint Jones
I have been looking for a good Perl development environment for Linux for some time now. All the IDE's I've found for Linux cost quite a bit of money, but Komodo has a non-commercial/educational license (version 1.1 is free but unsupported, and version 1.2 costs $29.50) which is cheap enough to