subroutine has the same name with build_in functions

原创 2013年12月02日 17:38:57

If you create a subroutine that has a name same with the build_in functions in Perl, you should add "&" when you invoke this subroutine:

for example:

sub chomp {

 print "hello";

}


&chomp;

相关文章推荐

Unity错误——1.error CS1704: An assembly with the same name `UnityEngine.UI' has already been imported.

今天在使用Unity5.5.0时,开启昨天的Unity 工程出现如下错误: 1.error CS1704: An assembly with the same name `UnityEngine.U...

Double Delete caused by 2 shared library has global object of same name, 2) 1st glance

The 1st question I have is what causes the double deletion? With the help of gdb, it's clear ...

This Vuser already started a transaction with the same name...解决方法

在做性能测试的时候,有时候会遇到下面的错误: This Vuser already started a transaction with the same name, and has not yet...

Server2012R2 ADFS3.0 The same client browser session has made '6' requests in the last '13'seconds

本问题是在windows server2012R2系统ADFS3.0环境下遇到的,CRM2013部署ADFS后运行一段时间(大概有一两个月)后在IE浏览器中访问登陆界面点击登陆后就报以下错误 “Mi...

SpringMVC中类名重名(SpringMVC conflicts with existing, non-compatible bean definition of same name )

SpringMVC conflicts with existing, non-compatible bean definition of same name

Ehcache配置时出错- Another unnamed CacheManager already exists in the same VM. Please provide unique name

配置Ehcache时出错: net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the s...

python build-in functions

he Python interpreter has a number of functions built into it that are always available. They are li...

修改项目APP名字后,在真机运行报错:The provisioning profile specified in your build settings (“haotian”) has an AppI

错误提醒:The provisioning profile specified in your build settings (“haotian”) has an AppID of “com.base...

Solving PDE problem with ODE functions in MATLAB®

Solving PDE problem with ODE functions in MATLAB® PDE is Partial Differential Equation for short. S...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:subroutine has the same name with build_in functions
举报原因:
原因补充:

(最多只允许输入30个字)