I'm using the Config::Inifiles module to work with a config file. All I need to know is how to change a section name, not a parameter value. Can't find anywhere how to do this.
I've tried:
tie %cfg, 'Config::IniFiles', ( -file => $CFG_FILE); $cfg{$section} = "new section name"; tied( %cfg )->WriteConfig($CFG_FILE) or die "Error";
But to no avail. Any suggestions for this niggly problem would be great.
In reply to Config::Inifiles section rename by james_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |