in reply to open and curl

Curl doesn't read the password from stdin, it opens /dev/tty and reads from that. So you'll probably need to use something like Expect.

Dave.

Replies are listed 'Best First'.
Re^2: open and curl
by Anonymous Monk on Jun 10, 2015 at 18:06 UTC
    I only need one way communication with curl. Anyway to complete that. With out any additional modules. Process to get additional modules is long take weeks or months.
      In that case I guess you'll have to implement a subset of the functionality found in IO::Pty. Or use the -n option to curl and store the password in .netrc. Or use HTTP::Tiny like someone suggested above.

      Dave.