Bug 11252 - perl 5.18.1 issues warnings on "when" and "given" statements
Summary: perl 5.18.1 issues warnings on "when" and "given" statements
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Jerome Quelin
QA Contact:
URL:
Whiteboard: MGA4TOO MGA5TOO
Keywords: Triaged, UPSTREAM
Depends on:
Blocks:
 
Reported: 2013-09-18 09:40 CEST by Juergen Harms
Modified: 2015-05-17 20:20 CEST (History)
1 user (show)

See Also:
Source RPM: perl
CVE:
Status comment:


Attachments

Description Juergen Harms 2013-09-18 09:40:46 CEST
Description of problem:

When running perl scripts that contain "case" constructs with "when" and "given" statements, it issues warnings like "When is experimental".

This was not the case if the same programme was run in Mageia 3 (perl 5.16). Googling for "when is experimental" reveals that this problem is also encountered in other distros/communities - apparently is an upstream flaw.


Version-Release number of selected component (if applicable):

perl-5.16.3-1.mga3

How reproducible:

always


Steps to Reproduce:
1. run a perl script that uses when and given
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Sander Lepik 2013-09-18 09:47:07 CEST
And the relevant upstream URL is?

CC: (none) => mageia
Hardware: i586 => All

Comment 2 Juergen Harms 2013-09-18 09:57:39 CEST
No idea, I said "apparently" - I am working at the level of a user of perl - no time to get involved in upstream issues, but wanted to document what I found when I exploring the initial problem.
Comment 3 Samuel Verschelde 2015-05-17 01:36:12 CEST
Is this problem still present in Mageia 4 and Mageia 5?

Keywords: (none) => NEEDINFO

Comment 4 Juergen Harms 2015-05-17 08:02:02 CEST
Yes, still present in both.

However, such messages can now be suppressed by saying
no if $] >= 5.018, warnings => "experimental";
Samuel Verschelde 2015-05-17 16:44:00 CEST

Keywords: NEEDINFO => Triaged, UPSTREAM
Assignee: bugsquad => jquelin
Source RPM: (none) => perl
Whiteboard: (none) => MGA4TOO MGA5TOO

Comment 5 Juergen Harms 2015-05-17 20:18:15 CEST
I feel uneasy burning up developpers time to fix this issue:
 - it is an upstream problem
 - although it is weird to freeze an "old" construct like while-when and calling it "experimental", there are comments from upstream developpers that for them this is normal and low priority,
 - the warning can be suppressed (see above)

The approach of debian - not to fix that bug itself, but to fix packages that suffer from it (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710063) - looks interesting.

For Mageia that would allow to close bugzilla 11252, waiting for upstream to fix it sometime, knowing that packages which might break due to this problem can be easily fixed.
Comment 6 Samuel Verschelde 2015-05-17 20:20:47 CEST
I agree with you. Closing then.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX


Note You need to log in before you can comment on or make changes to this bug.