Hi Eelco,
If you're data file isn't excessively large, you might use the following
example. Otherwise, you should probably stuff you data file into a database
,such as CSV or mysql, and use the DBI (available at www.cpan.org) for
processing.
The following code reads in each line of $data_file, re
Hello,
I'm having truble sorting a database.
I use this script to open and read a database:
open (DATABASE, "$data_file") || die "Can't Open $data_file";
while()
{
($groep2, $groep_id2) = split(/\|/,$_);
foreach ($groep2)
{
print <
ENDOFTEXT
}
}
close(DATABASE);
The problem I have is that I want $