Re: HoH is there a better way?

2004-11-09 Thread Simplicidade.com
pdata = 1653131 AND npused = 1653542 ## Have fun! -- :::: :::: :: Simplicidade.com :: :: Consultoria em Tecnologias de Informação, Lda. :: ::

Re: HoH is there a better way?

2004-11-10 Thread Miguel Santinho (Simplicidade.com)
On Wed, 10 Nov 2004 00:04:12 -0600 "Charles K. Clarkson" <[EMAIL PROTECTED]> wrote: > my @headers = split ' ', ; This way, if tomorrow you have some data like: extents nptot 51671035 2223412520365 you'll be in troubles, right? > my @tables; > while () { > my %table;

Re: Reg..Regular expression

2004-11-11 Thread Miguel Santinho (Simplicidade.com)
One idea ## #!/usr/bin/perl -w use strict; use Text::Balanced qw(extract_quotelike extract_multiple); use Data::Dumper; my @array = (); my @strings; foreach my $line (@array) { push @strings, extract_multiple($

Re: Reg..Regular expression

2004-11-11 Thread Miguel Santinho (Simplicidade.com)
Or a shorter version :-) ### #!/usr/bin/perl -w use strict; use Text::Balanced qw(extract_quotelike extract_multiple); use Data::Dumper; my @array = (); my @strings; push @strings,extract_multiple( $_,[sub { extract_quo