in reply to Unwanted extra text appearing in array

OK, the additional info helps me see what you're doing. But you're basically scripting an interaction with a machine we know nothing about. I have no idea what system "show run | inc dhcp relay" is a valid command on, much less what its output should look like or how to parse it.

In other words, you don't have a Perl question, you have a question about the system you're connecting to. And we don't know anything about that.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

  • Comment on Re: Unwanted extra text appearing in array

Replies are listed 'Best First'.
Re: Re: Unwanted extra text appearing in array
by allolex (Curate) on Jun 14, 2003 at 07:08 UTC

    Looks like a Cisco router to me =)

    Update: Confirmed here way before me.

    --
    Allolex