![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re^8: Pointers and Referencesby Leudwinus (Scribe) |
on Nov 25, 2020 at 15:33 UTC ( #11124201=note: print w/replies, xml ) | Need Help?? |
That's because 1,2,3 are literals which are read only. Use variables (sic) and you can change them in the loop. ;) It took me a few times to understand this line based on the examples given further below but now this makes sense!
In Section
Seekers of Perl Wisdom
|
|