P is for Practical | |
PerlMonks |
Re^2: OT: Does anyone know of a version control system that doesn't use separate files or a repo?by GrandFather (Saint) |
on Oct 16, 2011 at 23:02 UTC ( [id://931814]=note: print w/replies, xml ) | Need Help?? |
I see that you have a loop to allow multiple files to be processed, but in the implicit commit code if there is no change in a file the script exits without processing any remaining files (if ($diff eq '') {print "No changes. Exiting.\n"; exit;}). Is that intended behaviour? Printing the name of the unchanged file then skipping to the next file is probably more appropriate.
True laziness is hard work
In Section
Seekers of Perl Wisdom
|
|