in reply to + sign in array value

Are you using Net::Telnet (you didn't say)? I wonder what the prompt is set to, or the input record separator. The documentation recommends using dump_log() to help.

Replies are listed 'Best First'.
Re^2: + sign in array value
by genyded (Novice) on Oct 17, 2007 at 17:33 UTC
    Yes, I am using Net::Telnet, but that's not the issue. The data comes out fine from there (at least in the dump) but gets truncated when the array is populated.

      Maybe you could show us some more of what's going on. What does the dump say? How do you see it truncated "when the array is populated"? What do you get if you read into a scalar instead of an array and then try to parse out your values? What kind of machine are you connecting to (I notice a scary warning about Windows in the Net::Telnet documentation)? What does last_prompt() say after the problem shows?

        I believe that the issue with Windows and Net::Telnet is actually between Microsoft Telnet Server's (which like most MS products, works pretty well but doesn't conform to standards) idea of line termination and the standard Telnet line termination.

        But, I agree that more information is needed to diagnose the problem. Don't be afraid of flooding us with info, Genyded, the more the better (within reason).