$ cat -vet pm_1178405_ini_file_clean.pl ... __DATA__$ [MySection]$ ; This is a comment line for MySection$ fld1 = 'value of field 1' $ fld2 = 42$ $ ; This is the heading for AnotherSection$ [AnotherSection]$ ; another comment$ asfld=69$ $ ; Heading for WhitespaceSection$ [WhitespaceSection]$ ^I; Comment starting with a tab$ ^I ; Comment starting with a tab and a space$ ; Comment starting with a space$ ; Comment ending with a tab^I$ ; Comment ending with a tab and a space^I $ ; Comment ending with a space $ ^I ; tab+space+comment+space+tab ^I$ ^I; space+tab+comment+tab+space^I $ $ qwe=rty$ asd=fgh$ ; trailing 1$ ^I; tab + trailing 2$ ; space + trailing 3$ ; trailing 4$