in reply to Passing values in a hash to a subroutine:
After reading 'the gory details', I found that this is because @_ is an implicit reference to the actual scalar parameters, and therefore the modifications made upon @_ make it back to my hash. But if I shift the value into $_, any changes I make won't make it back to my hash.
Is this correct? Thanks for the help.
|
|---|