in reply to Perlplexation - foreach shoulda Known
I guess I just assumed it didn't because when you declare the variable in a foreach loop, you don't think of it as a reference (because it really isn't one, but it sorta acts like one in that it represents the actual element in the list.)It is called an alias.
|
---|