in reply to Re^3: referances of hashes, and subroutines
in thread referances of hashes, and subroutines
It's magical to the extent that prototypeing is generally frowned on so is one of the lesser known corners of Perl.
It is also magical in that the local context doesn't provide enough information to understand that there may be side effects when calling the sub. That is dangerous magic. Passing a reference to a sub explicitely is a strong hint that the referent will be altered.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: referances of hashes, and subroutines
by ff (Hermit) on Apr 23, 2006 at 01:05 UTC |