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.
In reply to Re: Perl Script to enable Cisco
by aitap
in thread Perl Script to enable Cisco
by Null_Route0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |