in reply to Re: passing arguments to a shell script in a here document passed to system() ?
in thread passing arguments to a shell script in a here document passed to system() ?

Thanks. I thought of that, but I'd like to avoid having to escape script variables, so I can easily slap existing, working scripts into perl using <<'SCRIPT' to avoid introducing bugs to what already works.

Which I suppose begs the question as to why I wouldn't simply use the original scripts as is. Well, I sometimes like consolidating scripts into a single "swiss army knife-ish" script to simplify dragging the functionality around.

  • Comment on Re^2: passing arguments to a shell script in a here document passed to system() ?