Adriano Allora wrote:
>
> Hi to all,
Hello,
> I've just learnt ( ... anyway, I'm trying to do it) to select a
> string when it is not preceded (or followed) by another string.
Perhaps you should read up on the positive/negative
look-ahead/look-behind assertions in the perlre document.
perldo
Hi to all,
I've just learnt ( ... anyway, I'm trying to do it) to select a
string when it is not preceded (or followed) by another string.
My aim is to know the mean of text lines in each newsgroup post, so I
wrote:
#!/usr/bin/perl -w
$nome_del_file = q/text.txt/;
open(INPUT, $nome_del_fil