On Wed, Jul 22, 2015 at 3:11 PM, Alex Becker wrote:
> Dear all,
>
> Perl now has subroutine signatures. However, they are marked as experimental
> feature.
> As I really like it, I'm always tempted to use it.
> On the other hand, I don't want to wast efforts to something I have to roll
> back.
>
>
On 23 July 2015 at 07:11, Alex Becker wrote:
>
> Perl now has subroutine signatures. However, they are marked as experimental
> feature.
> As I really like it, I'm always tempted to use it.
> On the other hand, I don't want to wast efforts to something I have to roll
> back.
>
> So, does anyone kn
On Wed, Jul 22, 2015 at 09:11:59PM +0200, Alex Becker wrote:
> Dear all,
>
> Perl now has subroutine signatures. However, they are marked as
> experimental feature.
> As I really like it, I'm always tempted to use it.
> On the other hand, I don't want to wast efforts to something I have to roll
>
All I can say is,, I've not had a good day. This is the correct code for
getting the most popular value. I'd forgot to update $count with $value
foreach my $field (keys %found) { # foreach field
my $value='';
my $count=0;
foreach my $key (keys %{$found{$field}}) { # foreach field -> value
Dear all,
Perl now has subroutine signatures. However, they are marked as
experimental feature.
As I really like it, I'm always tempted to use it.
On the other hand, I don't want to wast efforts to something I have to roll
back.
So, does anyone know the tendency if signatures are going to stay?
Below is my revised code based on your comments. It is tidier but more
importantly it works correctly. Ironically, it didn't actually work
correctly before on my dev machine either,– it didn't find all matches.
It looks like using my original code it was only using the first element in
each
Hi Gary,
see below for my comments.
On Wed, 22 Jul 2015 17:11:29 +0100
Gary Stainburn wrote:
> On Wednesday 22 July 2015 16:10:18 Shlomi Fish wrote:
> > Hi Gary,
> >
> > some comments about your code.
> >
> > On Wed, 22 Jul 2015 15:32:33 +0100
> >
> > Gary Stainburn wrote:
> > > I've written t
On Wednesday 22 July 2015 16:10:18 Shlomi Fish wrote:
> Hi Gary,
>
> some comments about your code.
>
> On Wed, 22 Jul 2015 15:32:33 +0100
>
> Gary Stainburn wrote:
> > I've written the code below to parse a number of text page files
> > generated by Tesseract OCR software to look for a guess the
Hi Gary,
some comments about your code.
On Wed, 22 Jul 2015 15:32:33 +0100
Gary Stainburn wrote:
> I've written the code below to parse a number of text page files generated by
> Tesseract OCR software to look for a guess the most likely values for VIN,
> Reg number and stock number for a veh
Hi Piyush,
On Wed, 22 Jul 2015 20:03:37 +0530
Piyush Verma <114piy...@gmail.com> wrote:
> Hi Shlomi,
>
> Code is not using t/*.t framework, it contains .pl and .pm files. I was
> trying via PERL5OPT=-MDevel:Cover
> I test my code via passing different-different arguments to .pl file, Is
> there
On Wed, Jul 22, 2015 at 08:17:18PM +0530, Piyush Verma wrote:
> Thanks Paul, this solved me some part of problem. I was using Devel::Cover
> in wrong place of .pl file.
> Now putting this on start of .pl script works for me but not completely.
>
> There are 20 .pm modules present in my project dir
Thanks Paul, this solved me some part of problem. I was using Devel::Cover
in wrong place of .pl file.
Now putting this on start of .pl script works for me but not completely.
There are 20 .pm modules present in my project directory but in coverage
report I am able to see only 6 .pm modules.
I thi
Hi Shlomi,
Code is not using t/*.t framework, it contains .pl and .pm files. I was
trying via PERL5OPT=-MDevel:Cover
I test my code via passing different-different arguments to .pl file, Is
there any way I can use coverage module e.g. enable code coverage in each
file?
Regards,
~Piyush
Facebook <
On Wed, Jul 22, 2015 at 04:56:12PM +0300, Shlomi Fish wrote:
> Hi Piyush,
>
> On Wed, 22 Jul 2015 19:08:20 +0530
> Piyush Verma <114piy...@gmail.com> wrote:
>
> > Hi,
> >
> > I want to collect code coverage data of my perl project which has a .pl
> > file and .pm files.
> > If I include this mod
I've written the code below to parse a number of text page files generated by
Tesseract OCR software to look for a guess the most likely values for VIN,
Reg number and stock number for a vehicle.
On my development site it works fine and gives the values it should.
However, on my live server it o
Hi Piyush,
On Wed, 22 Jul 2015 19:08:20 +0530
Piyush Verma <114piy...@gmail.com> wrote:
> Hi,
>
> I want to collect code coverage data of my perl project which has a .pl
> file and .pm files.
> If I include this module in each file, I'm getting result only of .pl file.
>
> Can anyone suggest ab
Hi,
I want to collect code coverage data of my perl project which has a .pl
file and .pm files.
If I include this module in each file, I'm getting result only of .pl file.
Can anyone suggest about the use case so that I can collect code coverage
data of all files.
Regards,
~Piyush
17 matches
Mail list logo