Re: fix a per script
- From: John Bokma <john@xxxxxxxxxxxxxxx>
- Date: 30 Jul 2008 21:31:38 GMT
RedGrittyBrick <RedGrittyBrick@xxxxxxxxxxxxx> wrote:
while(<DATA>){
chomp;
next if /^\s*$/; # ignore blank lines
You might want to do that before the chomp.
--
John
.
- References:
- fix a per script
- From: fred78980
- Re: fix a per script
- From: RedGrittyBrick
- fix a per script
- Prev by Date: Re: what is the expression mean?
- Next by Date: FAQ 4.29 How can I count the number of occurrences of a substring within a string?
- Previous by thread: Re: fix a per script
- Next by thread: FAQ 4.3 Why isn't my octal data interpreted correctly?
- Index(es):