Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Expect package not working on a Power PC machine

by eXile (Priest)
on Jul 29, 2006 at 23:56 UTC ( #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.


Comment on Re: Expect package not working on a Power PC machine
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
Node Status?
node history
Node Type: note [id://564574]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (15)
As of 2014-12-22 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (126 votes), past polls