[Israel.pm] LWP Q.

Ernst, Yehuda yernst at nds.com
Thu Jun 28 08:02:21 PDT 2007


content was missing in the first part

-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il]On
Behalf Of Ernst, Yehuda
Sent: Thursday, June 28, 2007 5:52 PM
To: perl at perl.org.il
Subject: [Israel.pm] LWP Q.


hello!

I am trying to run this

$res = $browser->get ("http........................
my @p = $res-> content =~ m|somthing(.*?)somthing|;

$p[0] is empty.

but if i print $res->as_string in the middle 

$res = $browser->get ("http........................
print $res->as_string;
my @p = $res-> =~ m|somthing(.*?)somthing|;


$p[0] is not empty.



any ideas?


Yehuda Ernst                        יהודה ארנסט
NDS Technologies Israel Ltd. mailto:yernst at nds.com>
Jerusalem          Tel:  +972 (2) 589-4427
PO Box 23012    Fax: +972 (2) 589-4825
Israel.    91235    Cell  +972 54 5664427

*************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the addressee only.  Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited.  If you have received this message in error, please immediately notify the postmaster at nds.com and destroy the original message.  Messages sent to and from NDS may be monitored.  NDS cannot guarantee any message delivery method is secure or error-free.  Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.  We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission.  You should carry out your own virus checks before opening any attachment.  Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS.

To protect the environment please do not print this e-mail unless necessary.
**************************************************************************************

_______________________________________________
Perl mailing list
Perl at perl.org.il
http://perl.org.il/mailman/listinfo/perl
*************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the addressee only.  Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited.  If you have received this message in error, please immediately notify the postmaster at nds.com and destroy the original message.  Messages sent to and from NDS may be monitored.  NDS cannot guarantee any message delivery method is secure or error-free.  Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.  We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission.  You should carry out your own virus checks before opening any attachment.  Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS.

To protect the environment please do not print this e-mail unless necessary.
**************************************************************************************




More information about the Perl mailing list