Perl is a general purpose, high level interpreted and dynamic programming language. Perl supports both the procedural and Object-Oriented programming. Perl is a lot similar to C syntactically and is easy for the users who have knowledge of C, C++. It’s been 5 months since the new version of Perl 5.38 was released. The new version 5.38 is extremely interesting because it introduces classes, which are built-in in the core language. As it is experimental, it yields warnings in the experimental::class category.These can be silenced by a no warnings statement.
The default expression for a subroutine signature parameter can now be assigned using the //= or ||= operators, to apply the defaults whenever the caller provided an undefined or false value (respectively), rather than simply when the parameter is missing entirely. In Perl 5.38 now there are two new API functions for operating on optree fragments, ensuring you can invoke the required parts of the optree-generation process that might otherwise not get invoked (e.g. when creating a custom LOGOP). To get access to these functions, you first need to set a #define to opt-in to using these functions.