in reply to perl and taint mode

">" requires the use of a shell, and thus, isn't taint-safe. You could use system("/bin/sh", ...), but be very careful to validate the strings you pass as arguments to the shell. Alternatively, you could use fork+exec with IO handles manipulations (with or without the help of IPC::Open3 or IPC::Run).

Replies are listed 'Best First'.
Re^2: perl and taint mode
by Anonymous Monk on Jan 05, 2005 at 21:21 UTC
    I seek a program with IPC-Open3. Just a small example... thank you anne