Just another Perl shrine | |
PerlMonks |
Re^4: How do I use a template, csv file and script to generate multiple switch configurationsby Laurent_R (Canon) |
on Apr 15, 2013 at 20:45 UTC ( [id://1028770]=note: print w/replies, xml ) | Need Help?? |
You need to declare your variables before using them, using the "my" function. Change the relevant line to: my $template_file_name = "configtemplate.txt";Same things for other variables displaying the same error message.For example: my ($location, $hostname, $ip) = split ...
In Section
Seekers of Perl Wisdom
|
|