Skip Menu |

This queue is for tickets about the Text-Shingle CPAN distribution.

Report information
The Basics
Id: 125520
Status: new
Priority: 0/
Queue: Text-Shingle

People
Owner: Nobody in particular
Requestors: james2vegas [...] aim.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.01
Fixed in: (no value)



Subject: Can't set w on construction of Text::Shingle object
  $ perl -MText::Shingle -e'print Text::Shingle->new( lang => 'de', norm => 1, w => 3)'
window size cannot be negative or zero at -e line 1.

In Text/Shingle.pm sub new (line 27)
  croak "window size cannot be negative or zero" if $opt eq 'w' && $_{w} < 1;
though %_ is not set, should be $param{w} instead of $_{w}