in reply to How do I strip lines prefixed by a "#"

KISS

next if /^\#/ ;

thanks,
mslattery

Originally posted as a Categorized Answer.