YaTC 20+ breaks portability with "use feature qw(switch)"
Bug #695487 reported by
linuxrules
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+)
Changed in yatc: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
assignee: | nobody → linuxrules (linuxrules) |
description: | updated |
description: | updated |
To post a comment you must log in.
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