Control: tag -1 + upstream wontfix

On Thu, 06 Nov 2014 13:35:54 +0000, Florian Lohoff wrote:

> Package: libswitch-perl
> Version: 2.17-2
> Severity: important
> 
> Hi,
> this minimal testcase produces an error:
> 
> flo@p2:/tmp/m$ ./t
> syntax error at ./t line 36, near "}continue"
> Execution of ./t aborted due to compilation errors.
> 
> #!/usr/bin/perl -w
> use Switch;
> sub parsetimedelta {
>       switch($mult) {
>               case /s/ { $time*=1; }
>       }
> }
> sub config_read {
>       while(<$fd>) {
> #                     caase(//)  {
>       }
> }
> 
> Changing the "case /s/" to "case /a/" or other characters i checked fixed
> the error or removing the comment line or the closing bracket on the comment 
> line.

I have forwarded your bug report upstream:
https://rt.cpan.org/Ticket/Display.html?id=110900
and the author already replied:

  "case m/s/ ..." should be used here. This is documented here:
  https://metacpan.org/pod/Switch#LIMITATIONS



Cheers,
gregor

-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Didier Squiban: Iroise

Attachment: signature.asc
Description: Digital Signature

Reply via email to