YaTC 20+ breaks portability with "use feature qw(switch)"

Bug #695487 reported by linuxrules
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yet another Temperature Converter
Fix Released
Wishlist
linuxrules

Bug Description

YaTC 20+ (aka 10.xx.20) breaks portability with use of Perl 6 style switches (Perl 5.10+)

linuxrules (linuxrules)
Changed in yatc:
importance: Undecided → Wishlist
status: New → Confirmed
assignee: nobody → linuxrules (linuxrules)
description: updated
Revision history for this message
linuxrules (linuxrules) wrote :

use a traditional switch:

for($foo){
if (/bar/) {print "Hello world\n"}
if (/baz/) {print "quux\n"}
else {print "fail\n"}
}

FAQ: https://answers.launchpad.net/yatc/+faq/1420

Revision history for this message
linuxrules (linuxrules) wrote :

compatibility MATTERS (Fixed now)

Changed in yatc:
status: Confirmed → Fix Released
linuxrules (linuxrules)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.