[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Perl CGI output truncated



On Tue, Oct 28, 2008 at 03:39:14PM +1100, Gerard Sharpe wrote:
> Scratching my head with an issue where my Perl CGI output is being
> truncated, however when running directly from the command line it
> works. I've tried apache2 without any chance.
> 
> Below is a minimal version of a script I'm useing to pull info from a
> Cisco router and display in the web browser:

have you tried the Net::Telnet::Cisco module?


or you might want to look at how Looking Glass does it:

http://wiki.version6.net/LG

  "LG is a Looking Glass written in Perl as a CGI script. It can execute
   almost all BGP-related commands and do ping and traceroute in
   routers or relay these queries to other looking glasses. It supports
   both IPv4 and IPv6 commands, and is tested with Cisco, Zebra, and
   Juniper. It can connect to a router using SSH, telnet or rsh. "


craig

-- 
craig sanders <cas@taz.net.au>


Reply to: