this works for me
use strict; use warnings; while (<DATA>) { print if /\.$/; } __DATA__ Inventories Trade receivables Assets This item includes impairment losses.
-->
This item includes impairment losses.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re: Perl regex txt file new line (not recognised?)
by LanX
in thread Perl regex txt file new line (not recognised?)
by thurinus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |