OOPERL static method and variable

xiaoxiao2021-03-06  35

Define a static variable in Perl, just define a variable in the beginning of the program. The static method is a different subroutine, but pay attention to it, do not use "->" when used. Do not use any Instance Variable when defined.

转载请注明原文地址:https://www.9cbs.com/read-62075.html

New Post(0)