good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: Re: system, pipes, shell, quotingby superpete (Beadle) |
on Nov 13, 2002 at 06:32 UTC ( [id://212504]=note: print w/replies, xml ) | Need Help?? |
Alas, I do not have the luxury of making up my own filenames. I am working on a "utility" type program executed from crontab rather than as a CGI, and my filenames come from walking a directory tree. The files might be generated by anything, and I want to cover all the bases. Trying to escape funny characters is a losing battle. Well... sort-of. Not a problem when doing straight open's, or simple system's (systen with a list of arguments avoids the shell). When launching a "pipeline" of several external programs, the shell provides tremendous convenience... see original post.
In Section
Seekers of Perl Wisdom
|
|