Hi Thanks for your suggestion. But what i need is the program while reading the config file doesn't +take the lines that is started with hash and i can store the elements #### my @output=Some::Module::some_routine(@array); # or my @output=some_routine(@array); if exported