What is “stringification” in Perl?

后端 未结 3 663
误落风尘
误落风尘 2021-02-01 04:18

In the documentation for the CPAN module DateTime I found the following:

Once you set the formatter, the overloaded stringification method will use th

3条回答
  •  一向
    一向 (楼主)
    2021-02-01 04:29

    Just adding to the above answer, to draw an analogy with java ...

    Much similar to Object.toString() in Java. Omni-present by default but could be over-ridden when required.

提交回复
热议问题