in reply to scalar values from split
Also, you want to mention the name of the file that you fail to open in you open's die clause. That will help in the future. And instead of hardcoding it, you should say something like
and then pass $file to your open statement. That way you can run it on a different data file without having to edit your script.my $file = shift || 'c:/items.pl';
And I see no race conditions!
--
|
|---|