in reply to Removing blank/empty lines
Tip #2 from the Basic debugging checklist: print the value of the $_ variable in your foreach loop. Does it contain what you expect?
print "$_\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Removing blank/empty lines
by perlnoobster (Sexton) on Dec 11, 2012 at 14:20 UTC | |
by thmsdrew (Scribe) on Dec 11, 2012 at 15:18 UTC | |
by Anonymous Monk on Dec 11, 2012 at 15:14 UTC | |
by perlnoobster (Sexton) on Dec 11, 2012 at 17:18 UTC |