in reply to Perl Script to enable Cisco
What do you mean by "enable command"? Shell commands are supported by remote hosts, not Perl modules.
As for the text file, you may want to use print instead of say. The "?" character say adds is actually a newline symbol, \n. Under Windows newline symbol is different (\r\n), so you may print that instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Script to enable Cisco
by Null_Route0 (Initiate) on Jul 23, 2012 at 17:12 UTC | |
by dasgar (Priest) on Jul 23, 2012 at 18:13 UTC | |
by Null_Route0 (Initiate) on Jul 23, 2012 at 18:17 UTC | |
by aitap (Curate) on Jul 23, 2012 at 17:33 UTC | |
by Null_Route0 (Initiate) on Jul 23, 2012 at 18:05 UTC | |
by aitap (Curate) on Jul 23, 2012 at 18:12 UTC |