Home
Sign Up
Sign In
hsh's recent timeline updates
hsh
V2EX member #119074, joined on 2015-05-27 10:42:10 +08:00
hsh
提问
技术话题
好玩
工作信息
交易信息
城市相关
Per hsh's settings, the topics list is only visible after you sign in
Deals
info, including closed deals, is not hidden
hsh's recent replies
May 27, 2015
Replied to a topic by
sinux
›
Perl
›
新手学 perl,想问一下 print 数字的时候,为什么后面总是跟着一个“%”
首先perl -e "print 1"这种用法不对。查看perl的man手册,看到 -e | -E 'command'这种形式才是正确的,所以应该使用perl -e 'print 1'。
如果要输出字符串应使用这种形式:perl -e 'print "Hello, perl!\n"'。
请在命令行执行perldoc perlrun(这两个命令同时输入,并且中间有空格,然后回车),
将会看到关于 -e 和 -E选项的说明。
»
More replies by hsh
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
5199 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms ·
UTC 01:11
·
PVG 09:11
·
LAX 18:11
·
JFK 21:11
♥ Do have faith in what you're doing.
❯