in reply to What should I know about "secure" system()?
D'oh. Forgot that I had a ~ in there which is only expanded by the shell -- should substitute with $ENV{HOME} or something. Consider this one solved.