On May 18, 2005, at 7:55, Aditi Gupta wrote:
is guess_alphabet a predefined function in the following code?
my @counters = ();
while (my $row = <$fh>) {
my @cols = split /\s*-\s*/, $row;
for (my $i = 0; $i < @cols; ++$i) {
my $code = guess_alphabet($cols[$i]);
hi,
is guess_alphabet a predefined function in the following code?
my @counters = ();
while (my $row = <$fh>) {
my @cols = split /\s*-\s*/, $row;
for (my $i = 0; $i < @cols; ++$i) {
my $code = guess_alphabet($cols[$i]);
++$counters[$i]{$code};
}
}
it was giving errors..
please help..
thanks
hey Xavier,
thanks a lot.. i'm sure that's going to help..
if i have any problem applying the regex then i'll come back to the list:-)
thanks again
aditi
On 5/17/05, Xavier Noria <[EMAIL PROTECTED]> wrote:
>
> On May 14, 2005, at 19:47, Aditi Gupta wrote:
>
> > there are actuaaly no fields sp
On May 14, 2005, at 19:47, Aditi Gupta wrote:
there are actuaaly no fields specified.. i have strings in each row
(with intermittent hyphens) and i've to find which alphabet occurs
how many times in each column and then perform reg exp operations..
but i've never dealt with such columnwise ana
hi Edward,
thanks for the help..
but i didn't really understood the code.. please guide me what documentation
should i read for columnwise analysis..
thanks again..
aditi
On 5/14/05, Edward WIJAYA <[EMAIL PROTECTED]> wrote:
>
> On Sat, 14 May 2005 14:12:37 +0800, Aditi Gupta <[EMAIL PROTECTE
On May 14, 2005, at 8:12, Aditi Gupta wrote:
hi everybody,
is it possible to search for a pattern in each column of a file.
I've only
seen pattern matching operations for a row..
In the general case not directly.
To emulate iteration per columns you'd need techniques that depend on
the particul
On Sat, 14 May 2005 14:12:37 +0800, Aditi Gupta <[EMAIL PROTECTED]>
wrote:
hi everybody,
Hi,
is it possible to search for a pattern in each column of a file. I've
only
This may not exactly what you want.
But hopefully it can give you some ideas.
The idea is to get all those column in to
a has