In other words you want to "Scott Numbers" rather than "item numbers"? You need to edit the check_record subroutine. Change
if (($item_number >=$first) && ($item_number <= $last)) {
to
if (($scottnum >=$first) && ($scottnum <= $last)) {
For what it's worth, I think your script could do with a complete re-write -- it looks like it was originally written for perl 4.
In reply to Re: More Flat-File Database Questions
by eg
in thread More Flat-File Database Questions
by Stamp_Guy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |