Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^9: Find and replace MD5 hash from file

by philipbailey (Curate)
on Jun 29, 2011 at 21:21 UTC ( [id://912042] : note . print w/replies, xml ) Need Help??


in reply to Re^8: Find and replace MD5 hash from file
in thread Find and replace MD5 hash from file

Your approach is absolutely fine in a code library providing the most generalisable possible solution for escaping arbitrary shell commands. There is nothing wrong with (the factual content of) your statements. All I am saying here is that in this specific case, where we have definitive evidence (even if you do not wish to examine that evidence) that quotes are never present, that a simpler approach is sufficient.

Replies are listed 'Best First'.
Re^10: Find and replace MD5 hash from file
by ikegami (Patriarch) on Jun 29, 2011 at 21:31 UTC

    All I am saying here is that in this specific case, where we have definitive evidence

    That's what you are saying *now*, and I don't have a problem with that. That's why I updated Re^2 in response to Re^7. Before Re^7, there was no mention of that.