perl – 冒号在子程序定义中意味着什么?
发布时间:2020-12-16 06:26:20 所属栏目:大数据 来源:网络整理
导读:在 this source code我找到了这个子定义. sub upload_file : Chained( 'base' ) : PathPart( 'upload-file' ) : Args( 0 ){ 我不明白这是什么意思:冒号和参数.有人能指点我一些文件吗? 解决方法 :链接,:PathPArt和:Args是 attributes提供的 attributes.
在
this source code我找到了这个子定义.
sub upload_file : Chained( 'base' ) : PathPart( 'upload-file' ) : Args( 0 ){ 我不明白这是什么意思:冒号和参数.有人能指点我一些文件吗? 解决方法
:链接,:PathPArt和:Args是
attributes提供的
attributes.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |