Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
open(INF,"products") or dienice("Can't open productsDB: $!"); @data = <INF>; close(INF); foreach $i (@data) { chomp($i); ($productId,$nmPrice,$mPrice,$itemName +,$shortdesc,$image,$address) = split(/\|/,$i);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: accessing/printing specific rows in a flat file DB
by projekt21 (Friar) on Aug 01, 2003 at 16:11 UTC | |
|
Re: accessing/printing specific rows in a flat file DB
by Cine (Friar) on Aug 01, 2003 at 16:15 UTC | |
|
Re: accessing/printing specific rows in a flat file DB
by yosefm (Friar) on Aug 01, 2003 at 16:12 UTC | |
by Limbic~Region (Chancellor) on Aug 01, 2003 at 16:25 UTC | |
by projekt21 (Friar) on Aug 01, 2003 at 16:32 UTC |