develooper Front page | perl.perl5.porters | Postings from May 2012

Re: [perl #112914] suppress warning on using unquoted strings in {} in slices too

Thread Previous | Thread Next
From:
Linda W
Date:
May 14, 2012 13:11
Subject:
Re: [perl #112914] suppress warning on using unquoted strings in {} in slices too
Message ID:
4FB166DD.3010707@tlinx.org
tchrist1 via RT wrote:
> Matt S Trout <mst@shadowcat.co.uk> wrote
>    on Mon, 14 May 2012 14:18:44 BST:
>
>   
>> I'm not sure what you mean; as I mention above, => is a comma
>> that, if its left hand side is a valid bareword, implicitly
>> quotes it.
>>     
>
> "Valid bareword" sounds a bit funny.  In Perl, a "bareword" is
> just an identifier token sufficiently ambiguous to be deemed
> illegal under strict subs, and to be a literal string otherwise.
>   
----
    Yes, you're right, I'm being a bit redundant.

    As to others: I didn't know =>'s differences went back that far.
Trouble is I read up on things in major releases, then tiny changes get
put in in minor releases that I miss.

   
    Is sounds like it's impossible for anyone to think of a way to do 
this in
perl.   Oh well.  I often set my expectations high -- I get disappointed 
alot
too... ;-0




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