in reply to Re^2: Unable to run or troubleshoot a script...
in thread Unable to run or troubleshoot a script...
Most likely a difference in line end characters. "DOS" uses crlf where *nix uses lf and Mac uses cr.
chomp (by default) removes the line end sequence used by the host OS so if you are running *nix and you have a file containing crlf line ends then you will get the cr left at the end of the line causing the password match to fail.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Unable to run or troubleshoot a script...
by cgmd (Beadle) on Jun 26, 2007 at 11:46 UTC | |
by clinton (Priest) on Jun 26, 2007 at 13:16 UTC | |
by graff (Chancellor) on Jun 26, 2007 at 18:50 UTC |