InfiniteSilence has asked for the wisdom of the Perl Monks concerning the following question:

I am looking for an authoritative list of all of the currently experimental features in Perl (I thought it would be here in the experimental POD or here in the perlexperiment POD but the class feature does not appear in them so these cannot be considered authoritative). When I try to discuss Perl experimental features like the new native classes I get the anticipated warning:

#!/usr/bin/perl -w use strict; no CGI; use v5.36; use feature 'class'; # notice that I commented this out #no warnings "experimental::class"; package Signals; our $VERSION=1.0; package Foo; class Alpha 0.01 { field $longname = "alpha!"; } package main; #...

When I compile this or run it I get:

class is experimental at cgiuser3.pl line 16. field is experimental at cgiuser3.pl line 17.

Which is exactly what I want and it appears to be consistent with how other popular languages are handling experimental features. But what I need upon seeing this is as follows:

Celebrate Intellectual Diversity

Replies are listed 'Best First'.
Re: Perl Experimental Features Usage and Testing
by swl (Prior) on May 11, 2026 at 01:50 UTC