I tried to use LibXML .. when i never to the correct libXML read file
... when i tried to use the LWP download which is an XML .. how to use
it please help me ...
/use LWP::UserAgent;
my $ua = LWP::UserAgent->new;
my $response =
$ua->get("http://www.perlmonks.org/?displaytype=xml;node_id=3989";);
Hi perlatwork,
On Saturday 12 Jun 2010 19:59:55 perl wrote:
> I tried to use LibXML .. when i never to the correct libXML read file
> ... when i tried to use the LWP download which is an XML .. how to use
> it please help me ...
>
First of all, add "use strict;" and "use warnings;". That would
"Chas. Owens" writes:
> A quick reference guide for operators:
> http://github.com/cowens/perlopquick/blob/master/perlopquick.pod
Is this just a typo, or am I not understanding what is presented at, I
think, the 5th occurrence of the term `Example' on the above URL:
Example
my @a = qw/ a b
i have tried to use the LibXML modules to xpath a document but its
getting complicated ..
i have seen this example over forum here .
use XML::LibXML ;
use strict;
use warnings;
{
my $xml = <<'XML';
Hello world!
XML
my $parser = XML::LibXML->new;
my $doc
Harry Putnam wrote:
"Chas. Owens" writes:
A quick reference guide for operators:
http://github.com/cowens/perlopquick/blob/master/perlopquick.pod
Is this just a typo, or am I not understanding what is presented at, I
think, the 5th occurrence of the term `Example' on the above URL:
Example
On Sat, Jun 12, 2010 at 16:29, Harry Putnam wrote:
> "Chas. Owens" writes:
>
>> A quick reference guide for operators:
>> http://github.com/cowens/perlopquick/blob/master/perlopquick.pod
>
> Is this just a typo, or am I not understanding what is presented at, I
> think, the 5th occurrence of the
On Sat, Jun 12, 2010 at 18:23, John W. Krahn wrote:
snip
> Unlike double quoted strings, that is the only escape sequence.
>
>
> The other escape sequence is '\\', as in:
>
> my $quote = 'He said \'I like quotes.\\';
snip
Yep, that is an error as well. And there are most likely more. I
foun
On Sat, Jun 12, 2010 at 21:32, Chas. Owens wrote:
> On Sat, Jun 12, 2010 at 18:23, John W. Krahn wrote:
> snip
>> Unlike double quoted strings, that is the only escape sequence.
>>
>>
>> The other escape sequence is '\\', as in:
>>
>> my $quote = 'He said \'I like quotes.\\';
> snip
>
> Yep,
> "Peng" == Peng Yu writes:
Peng> I can't find an existing perl subroutine (in the library) to find
Peng> every occurrence of a substring in a string. The following webpage
Peng> "Example 3b. How to find every occurrence" uses a loop to do so. But
Peng> I'd prefer a subroutine.
You had me up
On Sat, Jun 12, 2010 at 22:18, Randal L. Schwartz wrote:
>> "Peng" == Peng Yu writes:
>
> Peng> I can't find an existing perl subroutine (in the library) to find
> Peng> every occurrence of a substring in a string. The following webpage
> Peng> "Example 3b. How to find every occurrence" uses
10 matches
Mail list logo