Hi all,
I already sent this as a reply to another post, but did not receive an answer.
In the following script, the results are not printed at once, line by line, but
in one block after several seconds:
___BEGIN CODE___
#!/usr/bin/perl -wT
use CGI;
use strict;
use LWP::UserAgent;
my $q =
Hi all,
I think I'm having a problem with my browser timing
out because my cgi script is taking too long. The
script processes some database records. When it does
250 of them, it takes about a minute or so, and the
browser has no problem. But when I do more, the
script takes about 2 or 3
I would like to subscribe to this daily email.
Please add my email [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
thanks
shireesh
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Siegfried Heintze) writes:
I'm buffering my html/javascript output in a large array of strings. This
frees me to perform my computations independently of the order they appear
in the output.
However, I have a problem: Let us suppose I have an
Depending on what database platform you are using, you can easily do
SELECT * into new_table from table;
On Tue, 28 Dec 2004 15:50:41 -0500 (EST), Chris Devers
[EMAIL PROTECTED] wrote:
On Tue, 28 Dec 2004, Chris Lyon wrote:
So, I am trying to move data from one sql table to another table
-Original Message-
From: Chris Devers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 28, 2004 12:51 PM
To: Christopher Lyon
Cc: Perl Beginners List
Subject: Re: Moving Data from one table to another table
On Tue, 28 Dec 2004, Chris Lyon wrote:
So, I am trying to move data
-Original Message-
From: Scott Pham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 28, 2004 12:55 PM
To: Perl Beginners List
Cc: Christopher Lyon
Subject: Re: Moving Data from one table to another table
Depending on what database platform you are using, you can easily do
Thx's works like a charm. :)
zentara wrote:
On Tue, 28 Dec 2004 08:14:37 -0600, [EMAIL PROTECTED] (Mike
Blezien) wrote:
Hello,
Been trying to figure out how to encrypt a password w/Perl so it's uses the same
scheme used in a webmin control panel for password protecting directories. It
says
Environment:
Fedora Core 3
yum updated libpcap-0.8.3
tarball download of Net-Pcap.0.5
Perl 5.8.5
Problem:
Makefile.PL works fine and creates Makefile
make works
make install works
make test fails on 07-stats.t
Discussion:
What a coincidence! I was wondering about thy same thing. Will this work on
ActiveState Perl running WinXP2003 Server? I have Cygwin installed which
should give me a glibc, but don't think ActiveState knows about it.
How would I do this on my platform?
Thanks,
Siegfried
-Original
I'm trying to follow the example Larry Wall's Programming Perl book and it
is not working with ActiveState 5.8+.
Here is sample.pm:
package sample;
require Exporter;
our @ISA = (Exporter);
our @EXPORT qw($convex_pl);
$convex_pl = /cgi-shl/convex.pl;
1;
Here is test_sample_module.pl
I recently installed Net::Pcap from the cpan shell and the test failed as
well. I did a force install and the install completed and it appears to be
working fine. Not sure if will be any repercussions in the future though.
-Original Message-
From: Welsh, Ed [mailto:[EMAIL PROTECTED]
Sent:
...
our @EXPORT qw($convex_pl);
This is supposed to be a list to array assignment, except that the
assignment operator = is missing. Try:
our @EXPORT = qw($convex_pl);
...
syntax error at sample.pm line 4, near @EXPORT qw($convex_pl)
This message tells you there was a syntax error, which
I found one other reference to this issue on google and the guy having the
problem did exactly what
you did and forced the install. He then had issues. He thought it was related
to network device
detection. I'll have to go that route and hope to not have problems. Thanks
We need some smart
Thank you for the reply to my topic, not BASH wars, but does this look
correct?
use IO::Socket;
use strict;
use Time::HiRes qw( time alarm sleep );
$server_ip = 'localhost';
$server_port = 43278;
$microseconds = 5_000_000;
while ( ) {
my $message =
GMane Python wrote:
Thank you for the reply to my topic, not BASH wars, but does this look
correct?
use IO::Socket;
use strict;
use Time::HiRes qw( time alarm sleep );
$server_ip = 'localhost';
$server_port = 43278;
$microseconds = 5_000_000;
You need to do
my $server_ip ... etc with use strict;
I'm having a bit of trouble so far. The code below is what I've found on
different web sites as being the functions I believe I need:
use IO::Socket;
use strict;
use Time::HiRes qw( time alarm sleep );
while ( ) {
my $message =
Yes, but I posted a wrong file. This one doesn't work at all. I have
another that seems to work, but doesn't register on my Python heartbeat
server. It's posted as a reply to Dave just above. Sorry about the wrong
file.
-Dave
JupiterHost.Net [EMAIL PROTECTED] wrote in message
news:[EMAIL
Hi guys... I´d like to ask you a question. Some of you might have
encountered something like this... I´m creating a web interface using CGI
library so that the user enter a data in the textfield, i put these values
into some variables and use them in the system... for example... I type
the new
Should be as simple as:
use CGI;
$co = new CGI;
## Here I grab the info from the form field named date
## and assign it to the variable $data
my $data = $co-param('date');
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 29, 2004 2:14 PM
It does not compile on Netware, but it's OK on Windows. For Netware, I
copied from my Windows PC the perl/lib and perl/site directories to Netware
because Sockets::IO was not found. Now, I get:
Missing $ on loop variable at sys:\perl\lib/strict.pm li
BEGIN failed--compilation aborted at
On Wed, 29 Dec 2004 12:50:21 -0500, GMane Python
[EMAIL PROTECTED] wrote:
while ( ) {
That isn't doing what you expect, which (I assume) is an infinite
loop. loops over @ARGV and attempts to open each arg as a file and
iterate over the lines in each. I suppose it is functionally a
somewhat
Hi list.
I need to put a script in cron, but this script needs exec some Oracle
variables for work fine, these variables are:
export ORACLE_HOME=/oracle/app/product/9.2.0
export ORACLE_SID=galdb
export LD_LIBRARY_PATH=/oracle/app/product/9.2.0/lib32
export NLS_LANG='MEXICAN
Rafael Morales wrote:
Hi list.
I need to put a script in cron, but this script needs exec some
Oracle variables for work fine, these variables are:
export ORACLE_HOME=/oracle/app/product/9.2.0
export ORACLE_SID=galdb
export LD_LIBRARY_PATH=/oracle/app/product/9.2.0/lib32
export
Hello List,
To explain the problem I am having, I wrote a simple snipet that doesn't do
anything meaningful other than illustrating the behaviour I want to avoid:
my %hoh = (
1 = {
a = 5, b = 5
},
2 = 5
);
my @res =
Hello Perl people,
Recently, upgrading to perl v5.8.5 I've noticed that h2xs lays out module
directory structure in a quite different way than before.
Prior to this I could create a module e.g. Data::Loader
h2xs -XA -n Data::Loader
And it would create directory Data, then subdirectory Loader with
26 matches
Mail list logo