HI please help me how can i change following code into switch statement
if ($operatingsystem eq "170")
{
$Folder = "winvista";
$Readme = "readme_winvista.txt";
}
elsif ($operatingsystem eq "173")
{
$Folder = "winvista64";
$Readme = "readme_winvista64.txt";
}
elsif ($operatingsystem eq "119")
{
$Folder = "winvxp";
$Readme = "readme_winxp.txt";
}
elsif ($operatingsystem eq "210")
{
$Folder = "winxp64";
$Readme = "readme_winxp64.txt";
}
elsif ($operatingsystem eq "541")
{
$Folder = "windows*7 graphics";
$Readme = "readme_windows *7 graphics .txt";
}
elsif ($operatingsystem eq "525")
{
$Folder = "winvista64";
$Readme = "windows *7 /windows *7/windows *.txt";
}
if ($operatingsystem eq "170")
{
$Folder = "winvista";
$Readme = "readme_winvista.txt";
}
elsif ($operatingsystem eq "173")
{
$Folder = "winvista64";
$Readme = "readme_winvista64.txt";
}
elsif ($operatingsystem eq "119")
{
$Folder = "winvxp";
$Readme = "readme_winxp.txt";
}
elsif ($operatingsystem eq "210")
{
$Folder = "winxp64";
$Readme = "readme_winxp64.txt";
}
elsif ($operatingsystem eq "541")
{
$Folder = "windows*7 graphics";
$Readme = "readme_windows *7 graphics .txt";
}
elsif ($operatingsystem eq "525")
{
$Folder = "winvista64";
$Readme = "windows *7 /windows *7/windows *.txt";
}