|Just another Perl shrine|
Find and replace MD5 hash from fileby adroc (Initiate)
|on Jun 29, 2011 at 18:46 UTC||Need Help??|
adroc has asked for the
wisdom of the Perl Monks concerning the following question:
Hello, I am attempting to do a search and replace of MD5 hashes contained in a file but am having issues with the special characters contained within the hash. For example: #Just generating random hashes for this example and storing them in variables.
Doing the above generates an error similar to this. Bareword found where operator expected at -e line 1, near "s/$/7OWwo4h/FWHShP3" syntax error at -e line 1, near "s/$/7OWwo4h/FWHShP3" Execution of -e aborted due to compilation errors.
Some example hashes..........
What am I doing wrong here?
Thanks in advance...