Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: how check the first release of a new operand?

by Corion (Patriarch)
on Dec 07, 2020 at 08:50 UTC ( [id://11124767]=note: print w/replies, xml ) Need Help??


in reply to how check the first release of a new operand?

Syntax::Construct allows you to declare the operators you use in your code. Its documentation tells you what Perl release the feature comes from.

See the introduced and removed subroutines there to programmatically query for features, once you know their names.

Replies are listed 'Best First'.
Re^2: how check the first release of a new operand?
by xiaoyafeng (Deacon) on Dec 07, 2020 at 09:21 UTC
    Thanks! why this excellent/useful module is not introduced into Core modules yet?




    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

      Because it's intended to be "forward compatible", i.e. you should use the latest version of Syntax::Construct from CPAN as it knows about the versions of Perl that are newer than your current Perl version. (It's still possible to update core modules from CPAN, but I fear it's not that common).

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11124767]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2024-04-24 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found