Re: Transform column into row

2006-01-18 Thread Andrej Kastrin
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 eq

Re: Large Uploads

2006-01-18 Thread Mike Blezien
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

Large Uploads

2006-01-18 Thread Mike Blezien
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 reco

Re: Transform column into row

2006-01-18 Thread John Doe
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

Re: Problem with perl module

2006-01-18 Thread Tom Phoenix
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

Re: Transform column into row

2006-01-18 Thread Dr.Ruud
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 Dump

Re: How to take a reference "in line"

2006-01-18 Thread Todd W
"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. > my $arrayPointer; > > # This works: > @{$arrayPointer}=qw(Money preserv

Re: SCO OSR5 and DBI

2006-01-18 Thread Chas Owens
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\" > -D

SCO OSR5 and DBI

2006-01-18 Thread Scott Taylor
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 "-I/usr/lib/perl5/5.8/i586-pc-sco3.2v5.

Re: Problem with perl module

2006-01-18 Thread Chas Owens
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

RE: Problem with perl module

2006-01-18 Thread Logg, Connie A.
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: Cha

Re: Problem with perl module

2006-01-18 Thread Chas Owens
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 > ../..

Problem with perl module

2006-01-18 Thread Logg, Connie A.
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

RE: Transform column into row

2006-01-18 Thread Brian Volk
> -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 transf

Re: Transform column into row

2006-01-18 Thread JupiterHost.Net
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) id

Re: Transform column into row

2006-01-18 Thread Chas Owens
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

Re: Transform column into row (correction)

2006-01-18 Thread John Doe
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

Re: Transform column into row

2006-01-18 Thread John Doe
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 ac

Re: Transform column into row

2006-01-18 Thread Paul Johnson
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 arr

Re: Transform column into row

2006-01-18 Thread John Doe
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

Re: Win32::TieRegistry problem

2006-01-18 Thread OXx
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 cal

Transform column into row

2006-01-18 Thread Andrej Kastrin
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 te

Re: filehandle question

2006-01-18 Thread Alan
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