can not filter out commentary lines with reg-exps
- From: haralds_listen@xxxxxx (Harald)
- Date: Wed, 29 Mar 2006 14:22:45 +0200
Hi,
I need to parse an ASCII file which first rows are comments. Those rows are marked by a '#' at their beginning.
I try to filter them out by
while( <$FH> =~ m{\#*} )
{}
But this does not work. The loop does never stop.
What goes wrong? I am really confused!
Regards and thanks a lot for your help in advance,
Harald
.
- Follow-Ups:
- Re: can not filter out commentary lines with reg-exps
- From: John W. Krahn
- Re: can not filter out commentary lines with reg-exps
- From: Bjorge Solli
- Re: can not filter out commentary lines with reg-exps
- Prev by Date: Re: Combine similar patterns
- Next by Date: How to split a string read from the file?
- Previous by thread: Re: [SPAM DETECT] Re: Combine similar patterns
- Next by thread: Re: can not filter out commentary lines with reg-exps
- Index(es):
Relevant Pages
|