in reply to How do I strip lines prefixed by a "#"
@code_lines = grep !/^#/, @all_lines; [download]
The above code is taken directly from the Camel head book.