Welcome to the monastery. There are several modules on cpan which you could use to connect to the switch, depending on which services it runs, Net::Telnet or Net::SSH2. This isn't a code writing service (see PerlMonks for the Absolute Beginner). There are many posts which already cover this topic. Super search will help track them down.
Update: please don't down vote new users.
In reply to Re: need help to connect switch 192.168.1.2 using perl script.
by marto
in thread need help to connect switch 192.168.1.2 using perl script.
by ulaksh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |