config - perl configuration files reading -


hi doing perl configuration files using config::simple , configuration file is

[dialer external] pass=pass2 user=user2  [dialer onboard] pass=pass1 user=user1 

now actual requirement have read comment lines also. if have file this

[dialer external] pass=pass2 user=user2  [dialer onboard] pass=pass1 ;user=user1 

i able read line ;user=user1 also.i know not fair read comments. there way read , write data in comment line.with of config::simple guess not possible this.

is there way in perl. please suggest , correct me in regard. in advance.

you try removing the semicolon on line of source code. need remove semicolons start of option names.


Comments