Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Predecrement a constant?

by RonW (Vicar)
on Mar 21, 2017 at 17:51 UTC ( #1185373=note: print w/replies, xml ) Need Help??


in reply to Predecrement a constant?

Very interesting.

I wonder if this is a side effect of the mechanism that provides the predefined variables $0, $1, $2, .... Or maybe it's a "loop hole" in the bare word symbol mechanism.

Either way, I consider this to be a bug in Perl.

Update: But it's a trick. Shame on me for skipping my morning caffeine.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1185373]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2017-12-13 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (344 votes). Check out past polls.

    Notices?