in reply to Re^2: Can't get data from cisco router/switch when telnetting in via perl script.
in thread Can't get data from cisco router/switch when telnetting in via perl script.

Have you tried running the code with the debugger? (i.e. the -d command line switch?)

Does the array even contain data?

e.g
DB<5> x @data
What do you receive as output? A list of elements or empty array?

regexes
  • Comment on Re^3: Can't get data from cisco router/switch when telnetting in via perl script.
  • Download Code