develooper Front page | perl.perl5.porters | Postings from July 2022

Re: Pre-RFC: ${^ENGLISH_NAME} aliases for punctuation variables

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
July 8, 2022 21:36
Subject:
Re: Pre-RFC: ${^ENGLISH_NAME} aliases for punctuation variables
Message ID:
20220708223614.2a6d18f6@shy.leonerd.org.uk
On Fri, 8 Jul 2022 22:31:51 +0100
"Paul \"LeoNerd\" Evans" <leonerd@leonerd.org.uk> wrote:

> > 2. Is the brace required?
> > 
> > Is $^INPUT_LINE_NUMBER allowed?  
> 
> Yes. $^ is already a variable on its own (a little-known part related
> to formats).

I should clarify:

Yes, the brace is required.
No, $^INPUT_LINE_NUMBER is not allowed.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About