in reply to Follow up: String Formatting

Why don't you provide the output of:
sub hex_dump { return join ' ', map { sprintf('%02X', ord($_)) } split //, (@_ ? $_[0] : $_); } print('password: ', hex_dump($password), "\n"); print('VAR1: ', hex_dump($VAR1 ), "\n");

Update: Added missing ord.

Replies are listed 'Best First'.
Re^2: Follow up: String Formatting
by choedebeck (Beadle) on Dec 05, 2005 at 21:23 UTC
    The hex dumps are identical. The only thing I can think of it the Net::SSH::Perl module doesn't like anything else having a reference to any variable you pass in to it. Anyone else have any ideas?
      The hex dumps are identical.
      Would you post them so we can see?

      Caution: Contents may have been coded under pressure.