itshardtogetone wrote:
Hi,
Hello,
Looking at the script below, why does the while function loop
6 times instead of 3 times when @data have only 3 elements and
I thought the output should be:-
1 $_ = aaa1
2 $_ = bbb2
3 $_ = ccc3
Thanks
#
#!/usr/bi
On Fri, Feb 20, 2009 at 23:22, Chas. Owens wrote:
> On Fri, Feb 20, 2009 at 22:56, itshardtogetone
> wrote:
>> Hi,
>> Looking at the script below, why does the while function loop 6 times
>> instead of 3 times when @data have only 3 elements and
>> I thought the output should be:-
>> 1 $_ = aaa
On Fri, Feb 20, 2009 at 22:56, itshardtogetone
wrote:
> Hi,
> Looking at the script below, why does the while function loop 6 times instead
> of 3 times when @data have only 3 elements and
> I thought the output should be:-
> 1 $_ = aaa1
> 2 $_ = bbb2
> 3 $_ = ccc3
>
> Thanks
>
>
Hi,
Looking at the script below, why does the while function loop 6 times instead
of 3 times when @data have only 3 elements and
I thought the output should be:-
1 $_ = aaa1
2 $_ = bbb2
3 $_ = ccc3
Thanks
#
#!/usr/bin/perl
use strict;
use warnings;
my
On Fri Feb 20 2009 @ 1:29, mrito...@gmail.com wrote:
> I have that one
>
> I need one for perl dummies like me
If you want an alternative, take a look at Beginning Perl by Simon Cozens:
http://www.perl.org/books/beginning-perl/
It's written for Perl 5.6 (I think), but the core of the syntax sh
2009/2/20 prasath_linux :
> Dear Friends,
>
>I am beginner & i am new in perl scripting language, currently i
> using perl 5.8.8 version. I installed DBI module through CPAN to
> connect different database. Yes i got output by connecting to the
> database.
>
> My problem is :
>
>My first p
I have that one
I need one for perl dummies like me
Lol
--Original Message--
From: Dermot
To: mritorto
Cc: beginners@perl.org
Subject: Re: Reading 2 array lists
Sent: Feb 20, 2009 5:28 AM
2009/2/19 mritorto :
> guys
>
> more questions
>
>
> isn't built in. I am using active state perl
>
prasath_linux wrote on 02/20/2009 06:52:43 AM:
> Dear Friends,
>
> I am beginner & i am new in perl scripting language, currently i
> using perl 5.8.8 version. I installed DBI module through CPAN to
> connect different database. Yes i got output by connecting to the
> database.
>
> My prob
prasath_linux wrote:
"Internet Server Error"
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Will you please tell how to solve this error.
perldoc -q 500
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To uns
Dear Friends,
I am beginner & i am new in perl scripting language, currently i
using perl 5.8.8 version. I installed DBI module through CPAN to
connect different database. Yes i got output by connecting to the
database.
My problem is :
My first perl script filename is : first.pl
My
On Fri Feb 20 2009 @ 10:28, Dermot wrote:
> 2009/2/19 mritorto :
> > guys
> >
> > more questions
> >
> >
> > isn't built in. I am using active state perl
> >
> >
> > can u recommend any good perl books the ones I have aren't make for
> > beginers like perl cookbook or perl in a nutshell
>
> I'd s
On Fri Feb 20 2009 @ 3:02, ramesh.marimu...@wipro.com wrote:
>
> Thanks Thomas. Actually when is give "use Expect;", the error I get is "Can't
> locate Expect.pm in @INC ...". Is there anything that I'm missing or should I
> check something?
>
> -ramesh
As a start, you can run this command to
2009/2/19 mritorto :
> guys
>
> more questions
>
>
> isn't built in. I am using active state perl
>
>
> can u recommend any good perl books the ones I have aren't make for
> beginers like perl cookbook or perl in a nutshell
I'd say start with this.
Learning Perl (4th edition) ISBN0-596-10
>
> Hi All,
>
> Another thing I found is, when I try the command "perldoc Bundle::Expect", it
> displays the documentation. So it should be installed. But when I try with
> "perldoc Expect", nothing is displayed. Is there any problem in the
> installation? Is there any way to install?
>
> Reg
Hi All,
Another thing I found is, when I try the command "perldoc Bundle::Expect", it
displays the documentation. So it should be installed. But when I try with
"perldoc Expect", nothing is displayed. Is there any problem in the
installation? Is there any way to install?
Regards,
-ramesh
--
Thanks Thomas. Actually when is give "use Expect;", the error I get is "Can't
locate Expect.pm in @INC ...". Is there anything that I'm missing or should I
check something?
-ramesh
-Original Message-
From: Thomas Bätzler [mailto:t.baetz...@bringe.com]
Sent: Friday, February 20, 2009 2
>
> Your data is perfect for the paragraph mode* of readline:
>
Ahh, I forgot about paragraph mode.
> #!/usr/bin/perl
>
> use strict;
> use warnings;
>
> my $user = shift;
> my $regex = qr/\A$user/;
>
> local $/ = '';
> while (my $record = ) {
> chomp $record;
> if ($record =~ /$
Hi,
ramesh.marimu...@wipro.com asked:
> I'm totally new to Perl. I tried installing a module Bundle-Expect.pm.
> Also I called inside my Perl script by "Use Bundle::Expect". While
A bundle is not a module, it's a whole collection of related modules.
In this case I suspect you'll probably want to
On Wed, Feb 18, 2009 at 10:12:44AM -0800, John W. Krahn wrote:
>
> my @ids = map /^\w/ ? (split)[0] : (), `mailq`;
>
thanks, this was just what I was looking for.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.
Ganesh Babu N wrote:
I am testing the weblinks for connectivity using Test::HTTPStatus
module. I could able to test 187 and in those 165 links are success
and 22 links are failed. When I test manually by entering the weblink
in the browser out of 22, 5 weblinks are working fine.
I am not sure wh
Hi All,
I'm totally new to Perl. I tried installing a module Bundle-Expect.pm.
Also I called inside my Perl script by "Use Bundle::Expect". While
executing this script, I got an error "Can't locate Bundle/Expect.pm in
@INC ...". I can't find what I'm missing. Is there any mistake in
Bundle-Expect.
21 matches
Mail list logo