On Tuesday 17 January 2006 09:30, radhika wrote:
[ . . ]
409$plain_text .= $_ foreach ($fh);
close $fh;
--code end--
I keep getting this error:
readline() on closed filehandle $fh at
/home/ars/sys/libperl/site/ARS/REPORTS/AggregateFills.pm line 409.
Is that above line with
Dear Perl users,
what's the best way to transform column table in row format. I know how
to split each line according to delimiter and than put it separately
into array, but I have more complicated problem (with multiple equal
records in the first column)
id001 text1
id001 text2
id001
Thanks very much Timothy, it is exactly what I want.
In fact I forgotten to check the Key with definied
I will add too strict and warnings to have a better code .
It works fine, I will continue my tests.
Best Regards
OxX
2006/1/18, Timothy Johnson [EMAIL PROTECTED]:
Is there a value called
Andrej Kastrin am Mittwoch, 18. Januar 2006 10.49:
Dear Perl users,
what's the best way to transform column table in row format. I know how
to split each line according to delimiter and than put it separately
into array, but I have more complicated problem (with multiple equal
records in
On Wed, Jan 18, 2006 at 01:34:01PM +0100, John Doe wrote:
Andrej Kastrin am Mittwoch, 18. Januar 2006 10.49:
Dear Perl users,
what's the best way to transform column table in row format. I know how
to split each line according to delimiter and than put it separately
into array, but I
Paul Johnson am Mittwoch, 18. Januar 2006 13.53:
On Wed, Jan 18, 2006 at 01:34:01PM +0100, John Doe wrote:
Andrej Kastrin am Mittwoch, 18. Januar 2006 10.49:
Dear Perl users,
what's the best way to transform column table in row format. I know
how to split each line according to
John Doe am Mittwoch, 18. Januar 2006 15.30:
[...]
Another way (I don's say a better :-) ) could be not using a data
structure, but doing the transformation on the fly:
- read a line of the input data
- record the first or a new field name while scanning (id001 etc.)
- if the field name is
snip
My suggestion is that you show us what you tried so far, since this list is
not a script service.
But he didn't ask for a script, he asked for suggestions on the best way
to do something.
[As a side note, and not directed specifically to John Doe, this list
seems to be becoming a
Andrej Kastrin wrote:
Dear Perl users,
Howdy
what's the best way to transform column table in row format. I know how
to split each line according to delimiter and than put it separately
into array, but I have more complicated problem (with multiple equal
records in the first column)
-Original Message-
From: John Doe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 7:34 AM
To: beginners@perl.org
Subject: Re: Transform column into row
Andrej Kastrin am Mittwoch, 18. Januar 2006 10.49:
Dear Perl users,
what's the best way to transform column
I have installed perl fresh from the source, and loaded some modules via -MCPAN.
I am getting the following error message when I try to use Proc::ProcessTable.
[EMAIL PROTECTED] ~/v3src]$ kill-processes -p gnuplot
Storable binary image v2.7 more recent than I am (v2.6) at ../../lib/Storable.pm
snip
I have installed perl fresh from the source, and loaded some modules via
-MCPAN.
I am getting the following error message when I try to use Proc::ProcessTable.
[EMAIL PROTECTED] ~/v3src]$ kill-processes -p gnuplot
Storable binary image v2.7 more recent than I am (v2.6) at
Hummm...I made and installed the latest perl version yesterday
[EMAIL PROTECTED] ~]$ /usr/bin/perl -v
This is perl, v5.8.7 built for i686-linux-thread-multi
Should I try to reinstall storable via
/usr/bin/perl -MCPAN -e install Storable ?
Thanks, Connie
-Original Message-
From: Chas
On 1/18/06, Logg, Connie A. [EMAIL PROTECTED] wrote:
Hummm...I made and installed the latest perl version yesterday
[EMAIL PROTECTED] ~]$ /usr/bin/perl -v
This is perl, v5.8.7 built for i686-linux-thread-multi
Should I try to reinstall storable via
/usr/bin/perl -MCPAN -e install Storable
Hello,
I'm trying to install DBI modules and I'm getting the following message
from 'make':
gcc -c-DPERL_SCO -DPERL_SCO507 -DHAS_FPSETMASK -D_REENTRANT -march=i
586 -mcpu=i586 -O6 -fomit-frame-pointer-DVERSION=\1.50\
-DXS_VERSION=\1.
50\ -fPIC
On 1/18/06, Scott Taylor [EMAIL PROTECTED] wrote:
Hello,
I'm trying to install DBI modules and I'm getting the following message
from 'make':
gcc -c-DPERL_SCO -DPERL_SCO507 -DHAS_FPSETMASK -D_REENTRANT -march=i
586 -mcpu=i586 -O6 -fomit-frame-pointer-DVERSION=\1.50\
Bill Gradwohl [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Using the example below (partially taken from Learning PERL Objects), I
can't seem to figure out how to take a reference to an array in-line.
snip /
my $arrayPointer;
# This works:
@{$arrayPointer}=qw(Money preserver
Andrej Kastrin schreef:
id001 text1
id001 text2
id001 text3
id002 text23
id002 text555
id003 text666
and want something like:
id001 text1 text2 text3
id002 text23 text 555
id003 text666
$ perl -MData::Dumper -aF -ne \
'push @{$HoA{$F[0]}}, $F[1];} {END{print Dumper %HoA}' \
On 1/18/06, Logg, Connie A. [EMAIL PROTECTED] wrote:
Storable binary image v2.7 more recent than I am (v2.6) at
../../lib/Storable.pm
This is Perl's Storable module, which is used by the module you're
trying to use. It seems to be telling you that it's finding a binary
(compiled) file that's
Andrej Kastrin am Mittwoch, 18. Januar 2006 10.49:
Dear Perl users,
what's the best way to transform column table in row format. I know how
to split each line according to delimiter and than put it separately
into array, but I have more complicated problem (with multiple equal
records in
Hello,
we are setting up a multi-upload form with a max., of 4 uploads. right now we're
handling approx., 1-2mb files per upload(4 at a time), without any problems, and
now what to set it up for files up to 50mb's per upload(4 at a time). this is a
web based application form.
is there a
Tom,
Tom Phoenix wrote:
On 1/18/06, Mike Blezien [EMAIL PROTECTED] wrote:
is there a recommended method or proceedure, to prevent
possible time-outs
There aren't any time-outs built into Perl. Problem solved. :-)
any feedback would be much appreciated.
What time-out are you worried
John Doe wrote:
Andrej Kastrin am Mittwoch, 18. Januar 2006 10.49:
Dear Perl users,
what's the best way to transform column table in row format. I know how
to split each line according to delimiter and than put it separately
into array, but I have more complicated problem (with multiple
23 matches
Mail list logo