Can a Perl script modify itself?

前端 未结 6 1450
旧巷少年郎
旧巷少年郎 2020-12-31 10:48

I would like to have my scripts keep track of thier last date of revision internally as a comment. Is this possible? It seems to me that it would need to grab the date and

6条回答
  •  孤城傲影
    2020-12-31 11:24

    You can get your version control system to do this automatically.

    But if you are using version control then this step is really not nesaccery in the first place.

提交回复
热议问题