Hi friend:
I want know if is possible to do this:

For example:
If i have a flat data base myfile.txt with this info:

1|name|address|
2|name two|address two|
3|name three|address three|
4|name four|address four|
..... (etc, etc)

If i execute:

 open(IN,"$myfile.txt");
 while(<IN>){
  @file=split(/\|/,$_);
If ($file[0] ne ""){
print "$field[0] | $field[1] | $field[2]";
}
}
close (IN);

THE RESULTS IS:

1|name|address|
2|name two|address two|
3|name three|address three|
4|name four|address four|

OK. BUT HOW I CAN DO FOR THIS RESULTS BE:
4|name four|address four|
3|name three|address three|
2|name two|address two|
1|name|address|

??????

Thanks
Daniel
(Excuse me my english)


result is: 






-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to