$complex_structure can be quite anything ($ can be replaced with @ or %), and I think it will work even with blessed objects.use YAML; my $complex_structure; { my $complex_structure = Load(Dump($complex_structure)); #Here, $complex_structure is independent .... } #Here, you come back to the first $complex_structure ....
In reply to Re: Localizing hash keys in an AoH
by Anonymous Monk
in thread Localizing hash keys in an AoH
by kennethk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |