in reply to Re: Re: Re: parsing comments in newline-delimited files as lists
in thread parsing comments in newline-delimited files as lists

Without taking this code twisting too far, I think this is even nicer:
while (<DATA>) { s/\s*#.*//; push @enabled_lines, /\s*(.+)/; }
  • Comment on Re: Re: Re: Re: parsing comments in newline-delimited files as lists
  • Download Code