i have big problem special characters of perl.
i'm trying establish telnet connection.
so, after command "telnet $ipaddress" have send credentials.
i have done way:
my $exp = new expect; $exp->send("username"); $exp->send("@password");
the problem password has @ character first character , special character.
i have tried '@password'
, "\@password"
or "\\@password"
, login fails.
how can password work?
Comments
Post a Comment