Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Expect package not working on a Power PC machine

by eXile (Priest)
on Jul 29, 2006 at 23:56 UTC ( [id://564574]=note: print w/replies, xml ) Need Help??


in reply to Expect package not working on a Power PC machine

Hi,

The IP-address, username and password in your example look pretty real. For showing examples of code it would be best if you obfuscated them in such manner that others would immediately see they are fake/example ones. There are a lot of people on the Internet that would actually try that combination of IP/username/passwd.

Some IMHO good examples would be:

  • IP-addresses: 1.1.1.1, 10.10.10.10
  • hostname: example.com
  • password: fakepasswd, examplepasswd
  • username: johndoe, joeuser, exampleuser

As for your actual problem: try replacing the '\r' with '\n', since that is the end of line character for UNIXes.

Replies are listed 'Best First'.
Re^2: Expect package not working on a Power PC machine
by sri75 (Novice) on Jul 30, 2006 at 15:29 UTC
    Thanks for pointing it out. Appreciate it. --Sri

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://564574]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-28 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found