in reply to Support for hash comments on a line
while (<>) { chomp; s/\s*#.*//; # Strip off whitespace and trailing comments next if /^\s*$/; # Skip blank lines &process_line_of_input($_); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Support for hash comments on a line
by c (Hermit) on Nov 01, 2001 at 20:15 UTC | |
by Fastolfe (Vicar) on Nov 01, 2001 at 20:29 UTC |