How do I read back in the output of Data::Dumper?

前端 未结 9 1582
暖寄归人
暖寄归人 2021-02-10 02:14

Let\'s say I have a text file created using Data::Dumper, along the lines of:

my $x = [ { foo => \'bar\', asdf => undef }, 0, -4, [ [] ] ];
9条回答
  •  感动是毒
    2021-02-10 02:54

    Here's a thread that provides a couple different options: Undumper

    If you're just looking for data persistence the Storable module might be your best bet.

提交回复
热议问题