in reply to Re^5: Reference of constants and literals
in thread Reference of constants and literals
> > You never pass an array or hash, just references to them. It's not even possible to pass arrays or hashes to subroutines.
> Thats a matter of interpretation,
The closest you can get to "passing an array" in perl is to pass the arr_ref. Thats my interpretation of passing, (and not only mine)
So what do you mean with "It's not even possible to pass arrays or hashes to subroutines." What else could be considered passing an array, which is not possible in perl???
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Reference of constants and literals
by ikegami (Patriarch) on Nov 24, 2008 at 16:37 UTC | |
by LanX (Saint) on Nov 24, 2008 at 16:57 UTC | |
by ikegami (Patriarch) on Nov 24, 2008 at 17:14 UTC | |
by LanX (Saint) on Nov 24, 2008 at 17:51 UTC | |
by ikegami (Patriarch) on Nov 24, 2008 at 18:06 UTC | |
|