in reply to Passing vars to command

And what's the question? Looks fine as it is..

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re: Passing vars to command
by Anonymous Monk on Sep 30, 2002 at 21:13 UTC
    it doesn't seem to be passing the password over.
      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.