in reply to Configuring Static Route thorugh perl script
I suggest you get it working from the command line first, then code it up in Perl. What you have shown so far is not a Perl problem.