See perldoc perlfunc for open, close, split and scalar, then perldoc perlop for the diamond operator, <>.
Update: You don't need seperate variables for the db line fields, split returns an array: my @ary = split /\|/;
After Compline,
Zaxo
In reply to Re: Getting info with a small flatfile db.
by Zaxo
in thread Getting info with a small flatfile db.
by bladx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |