laziness, impatience, and hubris | |
PerlMonks |
Re^3: filesystems & Perl (updated!)by haukex (Archbishop) |
on Aug 13, 2016 at 09:50 UTC ( [id://1169700]=note: print w/replies, xml ) | Need Help?? |
Hi harangzsolt33, Yes, exactly what hippo said - a database can solve all of the problems you named. You'll find many tutorials on DBI on the web, including several on this site. Historically one might have solved this using flock to control read/write access, but that can be finicky and hard to get right (assuming it even works on your OS+FS); so I suggest you spend your time learning some basic DBI instead. Hope this helps,
In Section
Seekers of Perl Wisdom
|
|