Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^17: ref to read-only alias ... why? (notabug)

by LanX (Saint)
on Jan 08, 2012 at 21:04 UTC ( [id://946919]=note: print w/replies, xml ) Need Help??


in reply to Re^16: ref to read-only alias ... why? (notabug)
in thread ref to read-only alias ... why?

my $a = 2; $_++ for 1..$a; print "$a\n"; # 2

thats a confusing example, nothing else than

my $a = 2; $_++ for 1..2; print "$a\n";

I don't understand what it's supposed to prove.

Cheers Rolf

Log In?
Username:
Password:

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

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

    No recent polls found