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

I am getting an error bad username at line 137

Replies are listed 'Best First'.
Re: Re: Re: Re: Help with variables
by NetWallah (Canon) on Jun 02, 2004 at 18:02 UTC
    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.