On 10/25/2012 05:24 PM, Andy Bach wrote:
On Thu, Oct 25, 2012 at 3:57 PM, Weidner, Ron wrote:
In the following regex what is the "t" character doing?
$linebuf =~ tr/\n/:/;
tr/// is the "translate", er, transliteration operator. Same as
"y///" - from/like a unix util ("tr"). Takes any of the
On Thu, Oct 25, 2012 at 3:57 PM, Weidner, Ron wrote:
> In the following regex what is the "t" character doing?
> $linebuf =~ tr/\n/:/;
tr/// is the "translate", er, transliteration operator. Same as
"y///" - from/like a unix util ("tr"). Takes any of the left hand
side ("\n" here) and turns the
On 10/25/2012 03:57 PM, Weidner, Ron wrote:
In the following regex what is the "t" character doing?
$linebuf =~ tr/\n/:/;
There is no regexp - there is a tr operator
perldoc perlop
tr/SEARCHLIST/REPLACEMENTLIST/cds
y/SEARCHLIST/REPLACEMENTLIST/cds
Transliterates all occurrences of t
In the following regex what is the "t" character doing?
$linebuf =~ tr/\n/:/;
--
Ron
**
This e-mail is intended solely for the intended recipient or recipients. If
this e-mail is addressed to you in error or you othe
Can anyone tell me how to get this module installed on Win7? It is a
requirement for ODF::lpOD.
I get the following error message:
--
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Twig
malformed JSON strin
I'm sorry, I did not see Shlomi's reply, it was in my spam folder for
some reason.
On Thu, Oct 25, 2012 at 5:30 PM, Michiel Beijen
wrote:
> Hi Octavian,
>
> On Thu, Oct 25, 2012 at 1:33 PM, Octavian Rasnita wrote:
>
>> Can you recommend an XML parser which is faster than XML::Twig?
>
> Did you t
Hi Octavian,
On Thu, Oct 25, 2012 at 1:33 PM, Octavian Rasnita wrote:
> Can you recommend an XML parser which is faster than XML::Twig?
Did you try XML::LibXML ?
https://www.metacpan.org/module/XML::LibXML
--
Michiel
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional co
Hi Octavian,
On Thu, 25 Oct 2012 14:33:15 +0300
"Octavian Rasnita" wrote:
> Hi,
>
> Can you recommend an XML parser which is faster than XML::Twig?
>
> I need to use an XML parser that can parse the XML files chunk by chunk and
> which works faster (much faster) than XML::Twig, because I tried
Hi,
Can you recommend an XML parser which is faster than XML::Twig?
I need to use an XML parser that can parse the XML files chunk by chunk and
which works faster (much faster) than XML::Twig, because I tried using this
module but it is very slow.
I tried something like the code below, but I h