, 2012 11:46 PM
To: Jack Maney
Cc: beginners@perl.org
Subject: Re: regular error
i am very sorry ! i am intend to parse variable $a by the regular variable
$b . in below way!
$a="abc[0]";
$b="
I don't understand what you're trying to say or do. Exactly what error message
are you getting?
-Original Message-
From: xiyoulaoyuanjia [mailto:xiyoulaoyuan...@gmail.com]
Sent: Wednesday, July 11, 2012 10:54 PM
To: beginners@perl.org
Subject: regular error
*hi all:*
* i have an error
How about:
use strict;
use warnings;
foreach my $i(1..10){$i="0" . $i if length($i)==1;print "$i\n";}
-Original Message-
From: lina [mailto:lina.lastn...@gmail.com]
Sent: Monday, June 11, 2012 8:49 AM
To: beginners@perl.org
Subject: how to get a sequence of 01 02 ..
Hi,
$ for i in `s
I'll expand upon the same advice that I gave to you privately in an email: slow
down. Use Data::Dumper to look at the data that you're capturing. Look at
documentation to get the contents of a cell. If you're going to use code that
you got from somewhere else, don't use it unless you can desc
ProTip: If you're going to ask for help, don't insult and dismiss out of hand
the findings of those who take the time to help you.
-Original Message-
From: John W. Krahn [mailto:jwkr...@shaw.ca]
Sent: Tuesday, June 05, 2012 2:18 AM
To: Perl Beginners
Subject: Re: subroutine returning dat
Okay, let's go through this line by line:
@{$sheet->{Cells}$row};
This line is, for all practical purposes, a no-op. You aren't assigning this
array to anything, nor are you doing anything with it. Not to mention that I'm
not sure what you're doing on the inside...did you mean $sheet->{Cells}
What you need is the "x" operator
(http://perldoc.perl.org/perlop.html#Multiplicative-Operators):
So, the following command:
print "*" x 20 . "\n";
produces the following output:
Jack
-Original Message-
From: lina [mailto:lina.lastn...@gmail.com]
Sent: Monday,
Manfred,
The issue is that you're storing the return value of the start method into
$plf, and if you look at the source code, the start method returns 1.
In fact, using Data::Dumper,
print Dumper($plf) . "\n";
returns
$VAR1 = 1;
The start method is a method that doesn't return anything impo
>From the command line, type:
cpan Mail::Sender
-Original Message-
From: viknesh salivahanan [mailto:viknesh@gmail.com]
Sent: Friday, April 20, 2012 2:46 PM
To: beginners@perl.org
Subject: how to install a perl module which was downloaded in windows
Hi Gurus,
Need a help with an i
Somu,
What you're looking for is PAR::Packer
(http://search.cpan.org/dist/PAR-Packer/lib/PAR/Packer.pm), and in particular,
the PAR Packager application pp
(http://search.cpan.org/dist/PAR-Packer/lib/pp.pm).
Sincerely,
Jack
-Original Message-
From: Somu [mailto:som@gmail.com]
Se
10 matches
Mail list logo