Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
On aliases, I wish Perl had more of 'em. This doesn't really have a lot to do with your meditation, but the topic made it spill out. I'd like to have lexical variables which are aliases to other values. Currently, you only get that by defining a for loop variable: I think that explicit aliasing which gives value semantics to references would be very desirable. A new alias keyword taking $_ as default argument would allow, for instance, named aliases for subroutine arguments: where you wish to modify the external arguments. I expect this sort of thing has been discussed before. After Compline, In reply to Re: Aliasing bites
by Zaxo
|
|