Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^9: Pointers and References

by AnomalousMonk (Archbishop)
on Nov 24, 2020 at 22:18 UTC ( [id://11124171]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Pointers and References
in thread Pointers and References

And also for arrays:

Win8 Strawberry 5.8.9.5 (32) Tue 11/24/2020 17:09:57 C:\@Work\Perl\monks >perl -Mstrict -Mwarnings -l my $x = 1; my $y = 2; my @z = (3, 4, 5); $_ += 100 for @z, $x, $y; print "$x, $y, (@z)"; for ($x, @z, $y) { $_ += 100; } print "$x, $y, (@z)"; ^Z 101, 102, (103 104 105) 201, 202, (203 204 205)


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-28 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found