perl command not found
来源:互联网 发布:淘宝有卖纯种圣伯纳犬 编辑:程序博客网 时间:2024/05/29 15:50
perl 脚本内容:
#!/usr/bin/perl -wuse strict;use warnings;#use Data::Dumper;#use Storable;my $a = "good";print "$a\n";
运行是发现如下错误:
root@zctech-chengjb:/home/zczhangjx/智呈监控系统/perl# ./11.pl ./11.pl: line 3: use: command not found./11.pl: line 4: use: command not found./11.pl: line 8: my: command not foundWarning: unknown mime-type for "\n" -- using "application/octet-stream"Error: no such file "\n"最后发现是脚本的开始是空行等,不是以
#!/usr/bin/perl开头,因此报错,修改之后正常了:
root@zctech-chengjb:/home/zczhangjx/智呈监控系统/perl# ./11.pl good
0 0
- perl command not found
- command :hadoop:command not found
- bash:command not found
- rz: command not found
- command not found 解决方法
- crontab:command not found
- LINUX command not found
- qmake: command not found
- mkimage command not found
- ls command not found
- rails command not found
- command not found 解决方法
- bash:command not found
- ifconfig command not found
- rz: command not found
- uuencode command not found
- bash:command not found
- ssh command not found
- 原型模式随记
- Struts2防止网页数据重复提交
- 了解Nginx及安装配置
- JDWP on getting class status, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)
- Scapy基础学习之二
- perl command not found
- js实现网页中简体与繁体互转
- LeetCode Largest Rectangle in Histogram
- cn_win_srv_2003_r2_enterprise_x64_with_sp2下载地址及序列号
- Unbuntu 13.04下 安装 ns-allinone-2.35
- windows如何卸载服务
- ML第一课:监督式学习与非监督式学习
- Cocos2d-x 3.0rc0 的Win32工程添加CocoStudio库
- 关于Context []startup failed due to previous errors有效解决方式