2007/10/10, Patrik Hasibuan <[EMAIL PROTECTED]>:
> Dear my friends...
>
> Which pm can I use for parsing HTML tags?
>
Hi,
Do you know CPAN.org?you can search it with any keywords you want at first.
For your question,maybe HTML::Parser is suitable.see:
http://search.cpan.org/~gaas/HTML-Parser-3.56
Dear my friends...
Which pm can I use for parsing HTML tags?
Thanks in advance.
--
Patrik Hasibuan <[EMAIL PROTECTED]>
Junior Programmer
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Tue, 09 Oct 2007 13:29:53 -0700
"John W. Krahn" <[EMAIL PROTECTED]> wrote:
PH>Dear John...
> $_ = $kontenurl->gogeturl( $assprm{'kwnya'}, $urlnya, $nohal );
> print $_;
>
> But why not just:
>
> print $kontenurl->gogeturl( $assprm{'kwnya'}, $urlnya, $nohal );
PH>Because I want to put the res
On 10/9/07, Kaushal Shriyan <[EMAIL PROTECTED]> wrote:
> The Showmedo.com videos has only 4 parts only what about the rest of the
> videos or Am i seeing only 4 videos only
Did you have a question about Perl? Perhaps you sent this question to
the wrong list. Or perhaps it's not even a question; i
2007/10/10, Dr.Ruud <[EMAIL PROTECTED]>:
> No need for (), so you can write:
>
> m/tony|anthony/i
>
or,
/tony/i || /anthony/i
this is faster than /tony|anthony/i.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
yitzle schreef:
> /(tony|anthony)/i
> /(?:tony|anthony)/i
No need for (), so you can write:
m/tony|anthony/i
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
/(tony|anthony)/i
/(?:tony|anthony)/i
This RegEx will locate a tony, Tony, TONY, Anthony, etc (case
insensitive) anywhere in the string.
Is that what you need?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
newBee wrote:
Hi Guys...
Hello,
I am new to regular expression and perl. I want right and regular
expression to catch Tony or Anthony so I did it something like this..
[tony?anthony]. It will be great if some could tell me how to optimize
this to good regular expression. I am writing this in
Hi Guys...
I am new to regular expression and perl. I want right and regular
expression to catch Tony or Anthony so I did it something like this..
[tony?anthony]. It will be great if some could tell me how to optimize
this to good regular expression. I am writing this in perl.
Thanks in advance.
Patrik Hasibuan wrote:
Dear my friends...
Hello,
I want to take all the strings between "" and "" and put it
into array.
I do this way but it does not work properly:
Put these two lines at the start of your program:
use warnings;
use strict;
$kontenurl=eksekusi->baru();
eksekusi is
Dear my friends...
I want to take all the strings between "" and "" and put it
into array.
I do this way but it does not work properly:
$kontenurl=eksekusi->baru();
$_=$kontenurl->gogeturl("$assprm{'kwnya'}", "$urlnya", "$nohal");
print "$_";
print "";
print "";
$i=0;
while (<>){
@resul
You've solved my problem, Jeff.
Thank youThank you very much.
I really appreciate your help.
On Mon, 8 Oct 2007 10:20:00 +0800
"Jeff Pang" <[EMAIL PROTECTED]> wrote:
> 2007/10/8, Patrik Hasibuan <[EMAIL PROTECTED]>:
>
> > But if I retrieve a little bit more complicated url such as
> > "ht
I wanted this to schedule this job daily. The process explorer is amazing
one. Try to know more about Process Explorer.
Thanks
Manoj
-Original Message-
From: terran forge [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 07, 2007 10:03 PM
To: [EMAIL PROTECTED]
Cc: 'Perl Beginners'
Subjec
> -Original Message-
> From: Ram Prasad [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 09, 2007 9:00 AM
> To: beginners@perl.org
> Subject: Re: Load Test a web site
>
> On Oct 9, 12:54 pm, [EMAIL PROTECTED] (Jim Coyle) wrote:
> > Hi,
> >
> > I am an beginner using Perl.
> > I need to
On Oct 9, 12:54 pm, [EMAIL PROTECTED] (Jim Coyle) wrote:
> Hi,
>
> I am an beginner using Perl.
> I need to load test a new web site - does anyone have some very basic
> code that I could re-use?
> Ideally I'm looking for something that simulates multiple users hitting
> the web site at the same ti
Thanks very much - this works
Jon
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi.
On 10/9/07, Paul Lalli <[EMAIL PROTECTED]> wrote:
>
> On Oct 9, 9:17 am, [EMAIL PROTECTED] (Bob McConnell) wrote:
> > My experience was that "Learning Perl" was the introduction that
> > prepared me to tackle "Programming Perl". That combination gave me a
> > very good general understanding of
On Oct 9, 9:17 am, [EMAIL PROTECTED] (Bob McConnell) wrote:
> My experience was that "Learning Perl" was the introduction that
> prepared me to tackle "Programming Perl". That combination gave me a
> very good general understanding of the language and how to apply it.
> After that, there are a numb
On Oct 9, 10:09 am, [EMAIL PROTECTED] (Rodrigo Tavares) wrote:
> I created a hash with some elements and keys.
> The hash must receive a array.
What does "receive" an array mean?
> Can I do it ?
You can store references to arrays in a hash, but not arrays
themselves:
my @array = (1, 2, 3);
my
Hi
The Showmedo.com videos has only 4 parts only what about the rest of the
videos or Am i seeing only 4 videos only
Thanks and Regards
Kaushal
In what sense?
So you mean can a hash reference an array
'a' => [EMAIL PROTECTED] ?
-Original Message-
From: Rodrigo Tavares [mailto:[EMAIL PROTECTED]
Sent: 09 October 2007 15:09
To: beginners@perl.org
Subject: Hash receive Array
Hello,
I created a hash with some elements and keys.
On 9 Oct 2007 at 11:09, Rodrigo Tavares wrote:
Hi
> Hello,
>
> I created a hash with some elements and keys.
> The hash must receive a array.
>
> Can I do it ?
yes. I think this will work.
$hash{'myarray'} = [1, 2, 3];
or
$hash{'myarray'} = [EMAIL PROTECTED];
and I am sure there are l
Hello,
I created a hash with some elements and keys.
The hash must receive a array.
Can I do it ?
best regards,
Faria
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para
armazenamento!
http://br.mail.yahoo.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
> -Original Message-
> From: kilaru rajeev [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 09, 2007 8:50 AM
> To: Paul Lalli
> Cc: beginners@perl.org
> Subject: Re: Learning Perl
>
> I think "Learning perl" is a better choice as per my
> knowledge. You can go
> for the remaining after
On 10/9/07, Chas. Owens <[EMAIL PROTECTED]> wrote:
> On 10/9/07, yitzle <[EMAIL PROTECTED]> wrote:
> > On 10/9/07, Beginner <[EMAIL PROTECTED]> wrote:
> > > Can someone explain why there is a 4th, undefined variable being
> > > declared in test? It appears to work it too.
> > >
> > > sub test {
> >
On 10/9/07, yitzle <[EMAIL PROTECTED]> wrote:
> On 10/9/07, Beginner <[EMAIL PROTECTED]> wrote:
> > Can someone explain why there is a 4th, undefined variable being
> > declared in test? It appears to work it too.
> >
> > sub test {
> > my ($function, $description, $var) = @_
> > ...
> >
> > I'm s
On 10/9/07, Beginner <[EMAIL PROTECTED]> wrote:
> Can someone explain why there is a 4th, undefined variable being
> declared in test? It appears to work it too.
>
> sub test {
> my ($function, $description, $var) = @_
> ...
>
> I'm sure there is a reason for it but I can't see it.
> Thanx,
> Dp.
I think "Learning perl" is a better choice as per my knowledge. You can go
for the remaining after this.
Thanks,
Rajeev Kilaru
On 10/9/07, Paul Lalli <[EMAIL PROTECTED]> wrote:
>
> On Oct 9, 7:28 am, [EMAIL PROTECTED] (Bhargav Purohit) wrote:
> > Instead to of starting directly with Camel Book(L
On Oct 9, 7:28 am, [EMAIL PROTECTED] (Bhargav Purohit) wrote:
> Instead to of starting directly with Camel Book(Learning Perl)
The Camel Book is Programming Perl. It is a reference. Effectively a
paper-back version of the perldoc documentation you mentioned.
Learning Perl is known as the Llama
Instead to of starting directly with Camel Book(Learning Perl)
I would suggest to see the perldoc first and then move to book
as perldoc gives more understanding in simple way
(learning perl is nothing but just the rearrnaged form of perldoc)
How to access perldoc
Type perldoc from your l
2007/10/9, Beginner <[EMAIL PROTECTED]>:
> Can someone explain why there is a 4th, undefined variable being
> declared in test? It appears to work it too.
>
There is not any reason really.Just the OP's thought,maybe he need
that 4th argument for his use.
--
To unsubscribe, e-mail: [EMAIL PROTEC
On 9 Oct 2007 at 9:01, Jeff Pang wrote:
> 2007/10/9, yitzle <[EMAIL PROTECTED]>:
> sub test {
> my ($function, $description, $var, undef) = @_;
> print $description . ": ";
> print $function->($var) ? "Yes\n" : "No\n";
> }
Can someone explain why there is a 4th, undefined variable being
decl
Why not use apache's ab?
But once I did write a simple script for testing our web
applications,hope it's a little help to you.
#!/usr/bin/perl
use strict;
use LWP::UserAgent;
use Encode;
for (1..100) {
unless (fork) {
test_site_com() for 1..10;
exit 0;
}
}
sub test_site_c
Hi,
I am an beginner using Perl.
I need to load test a new web site - does anyone have some very basic
code that I could re-use?
Ideally I'm looking for something that simulates multiple users hitting
the web site at the same time.
Yours gratefully ...
- Jim
34 matches
Mail list logo