Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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


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:,
  • hostname:
  • 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

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://564574]
[Corion]: Hi James!
[james28909]: I looked through the docs, and see that PerlApp::exe() is suppose to return this information but whenever i try to use this, i get the error "Undefined subroutine &PerlApp::exe called"
[james28909]: i just want to verify the integrity of the executables name each time it is run.
[Corion]: Weird. this documentation says what you say.
[Corion]: I assume you are experiencing this with your packaged program. Maybe also include in the packaging list?
[james28909]: has anyone else run into this problem? i have tried searching but have not returned many results
[james28909]: ah, good idea.
[Corion]: What does print $PerlApp::VERSION output?

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-07-28 13:55 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (429 votes). Check out past polls.