> 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
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
"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
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
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
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
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
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
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
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
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
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
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]
[...]
>
> 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]
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
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
16 matches
Mail list logo