How do I compare two hashes in Perl without using Data::Compare?

后端 未结 7 1356
春和景丽
春和景丽 2020-12-10 03:08

How do I compare two hashes in Perl without using Data::Compare?

7条回答
  •  时光说笑
    2020-12-10 03:37

    See How do I test whether two arrays or hashes are equal?

    Perl's FAQ and answers are part of you Perl distribution. You can view the version of this answer that came with your perl by running:

    $ perldoc -q equal

    in your terminal.

提交回复
热议问题