in reply to saving a file
Why do you unlink $scnt and $jscd, only to immediately open these files in clobber mode?
...but more likely, it's an unnecessary "cleansing" of the working directory before creation of those files ;)
Conway's Game of Life
Perl regular expressions
My Magic 8-Ball™
Results (187 votes). Check out past polls.