in reply to Re: Help with variables
in thread Help with variables

Nope, haven't done a debug net. Those aren't the real passwords :-) I thought about that, but would rather hard-code it...i know its insecure. It is not a routed network, I'm trying to find this in a distributed core switch.

Replies are listed 'Best First'.
Re: Re: Re: Help with variables
by Anonymous Monk on Jun 02, 2004 at 17:07 UTC
    I am getting an error bad username at line 137
      OK - It looks like you have misunderstood the parameters for the "login" method.
      $ok = $obj->login($username, $password);
      You seem to be passing in 'login' for the username.
      $device_object->login( 'login', "$PASSWORD" ) # Change 'login' to $USERNAME , which you need to pre-populate. # No need for quotes around "$PASSWORD".

      Offense, like beauty, is in the eye of the beholder, and a fantasy.
      By guaranteeing freedom of expression, the First Amendment also guarntees offense.