I want the name of the executing program. I'm trying to use the hash to generate skeleton functions for the hash itself. If you note I open two files. One is $0 to read itself and one is $0.new for the output.
I removed an entire previous section that McAfee wasn't balking at. It contains program setup including hash construction and unrelated functions. Also included, but I completely forgot to include here are the strict and warnings. They're there, I just didn't include them here. Sorry about that.