in reply to dynamically creating variables
Where you make up the string to contain the code you need, for each assignment.#!/usr/bin/perl use strict; use warnings; our $f; eval '$f = 10;'; print "f is $f\n";
If you can change your save format, this is something Data::Dumper can do for you automatically. "You can specify names for individual values to be dumped if you use the "Dump()" method".
|
|---|