in reply to open handle

open(HANDLE, "|cmd ss get $/Tate_SP2/$dir/$fname -Ybarbarat,12345|" || die "Couldn't run process:$!" );
You can't open an external program with pipes for both reading and writing this way. Look at IPC::Open2 for a way that does work.

Replies are listed 'Best First'.
Re^2: open handle
by gitarwmn (Beadle) on Dec 06, 2006 at 20:51 UTC
    Thanks, I'll look into these other things.
    In the mean time I tried this and it worked. I'm calling a batch script to do the Source Safe get.
    system "C:\\Source\\Tate_8.4\\Click2Coach\\vss.cmd $dir $fname";

    Now what I'm doing is trying to have a cgi script call the batch script but it doesn't work. Anyone know why?