in reply to Re: Passing vars to command
in thread Passing vars to command

it doesn't seem to be passing the password over.

Replies are listed 'Best First'.
Re^3: Passing vars to command
by Aristotle (Chancellor) on Sep 30, 2002 at 21:18 UTC
    Now there's one. And duh at myself of course. You need to put the parameter in double quotes since single quotes don't interpolate variables: "tpasswd=$password". (Or maybe use the qq "operator", which allows to choose your own delimiters like in qq(tpasswd=$password).)

    Makeshifts last the longest.