On Oct 29, 2012, at 4:48 AM, Hermann Norpois wrote:
> Dear list,
>
> I would like $/ to recognise empty lines (one empty line). I tried
>
> $/ = "^\s+$";
>
> But this does not work.
> Error message:
> Unrecognised escape \s passed through at ex2.ol line 5.
> I have an input file structured lik
From: "Shlomi Fish"
On Mon, 29 Oct 2012 10:09:53 +0200
Shlomi Fish wrote:
> Hi Octavian,
>
> On Sun, 28 Oct 2012 17:45:15 +0200
> "Octavian Rasnita" wrote:
>
> > From: "Shlomi Fish"
> >
> > Hi Octavian,
> >
> >
> >
> > Hi Shlomi,
> >
> > I tried to use XML::LibXML::Reader which uses the
From: "Rob Coops"
On Mon, Oct 29, 2012 at 9:18 AM, Shlomi Fish wrote:
> On Mon, 29 Oct 2012 10:09:53 +0200
> Shlomi Fish wrote:
>
> > Hi Octavian,
> > On Sun, 28 Oct 2012 17:45:15 +0200
> > "Octavian Rasnita" wrote:
> > > From: "Shlomi Fish"
> > > Hi Octavian,
...
> OK, after a short amount
On Mon, Oct 29, 2012 at 12:48:33PM +0100, Hermann Norpois wrote:
> But still: What is wrong with $/="^\s+$" ?
>From perldoc perlvar:
Remember: the value of $/ is a string, not a regex. awk has to be
better for something. :-)
--
Paul Johnson - p...@pjcj.net
http://www.pjcj.net
--
To unsu
Dear list,
I would like $/ to recognise empty lines (one empty line). I tried
$/ = "^\s+$";
But this does not work.
Error message:
Unrecognised escape \s passed through at ex2.ol line 5.
I have an input file structured like this:
# kljhkjhkljhlkjh
lk1243, hkjhkjh
#ztztzti
jj562356, jkjk7kjk
M
On Mon, Oct 29, 2012 at 9:18 AM, Shlomi Fish wrote:
> On Mon, 29 Oct 2012 10:09:53 +0200
> Shlomi Fish wrote:
>
> > Hi Octavian,
> >
> > On Sun, 28 Oct 2012 17:45:15 +0200
> > "Octavian Rasnita" wrote:
> >
> > > From: "Shlomi Fish"
> > >
> > > Hi Octavian,
> > >
> > >
> > >
> > > Hi Shlomi,
>
On Mon, 29 Oct 2012 10:09:53 +0200
Shlomi Fish wrote:
> Hi Octavian,
>
> On Sun, 28 Oct 2012 17:45:15 +0200
> "Octavian Rasnita" wrote:
>
> > From: "Shlomi Fish"
> >
> > Hi Octavian,
> >
> >
> >
> > Hi Shlomi,
> >
> > I tried to use XML::LibXML::Reader which uses the pool parser, and I r
Hi Octavian,
On Sun, 28 Oct 2012 17:45:15 +0200
"Octavian Rasnita" wrote:
> From: "Shlomi Fish"
>
> Hi Octavian,
>
>
>
> Hi Shlomi,
>
> I tried to use XML::LibXML::Reader which uses the pool parser, and I read
> that:
>
> ""
> However, it is also possible to mix Reader with DOM. At every