Hi
I would like rename a variable dynamically, Is there any way to do this in perl.
Thanks Praveen
Hi
I would like rename a variable dynamically, Is there any way to do this in perl.
Thanks Praveen
Do you want to use a reference? This gives you a reference to an existing object. Probably good enough.
Or, do you want to use a Type Glob? This allows you to directly modify the symbol table. There's probably no good reason for using it these days, but it does let you give a new name to an existing variable at a very fundamental level.