Skip to content

Instantly share code, notes, and snippets.

@heypano
Last active December 21, 2015 02:09
Show Gist options
  • Save heypano/6233175 to your computer and use it in GitHub Desktop.
Save heypano/6233175 to your computer and use it in GitHub Desktop.
Copy data structure recursively
use Storable qw(dclone);
@data_new = @{ dclone(\@data) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment