分页: 1 / 1

Perl 6 中文教学 - 在线文档

发表于 : 2021年11月15日 23:23
523066680
有阵子没关注Perl 6 了,一直对其中的 Grammar 有点兴趣,

http://zh.perl6intro.com/
Naoum Hankache naoum@hankache.com
ohmycloud http://ohmycloud.github.io
wenjie1991 https://github.com/wenjie1991

本文档旨在为您提供 Perl 6 编程语言的快速概述。 它可以让 Perl 6 初学者快速上手。

Re: Perl 6 中文教学 - 在线文档

发表于 : 2023年01月26日 02:53
rubyish

:shy_smile 3Q~


Re: Perl 6 中文教学 - 在线文档

发表于 : 2023年01月28日 20:57
523066680
rubyish 写了: 2023年01月26日 02:53

:shy_smile 3Q~

哇,好久不见!可以知道你的邮箱或者其他联络方式吗?


Re: Perl 6 中文教学 - 在线文档

发表于 : 2023年03月05日 10:10
zzz19760225

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>perl -v

This is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x64-multi-t
hread

Copyright 1987-2021, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

C:\Users\Administrator>
后面就不知道怎么用了


Re: Perl 6 中文教学 - 在线文档

发表于 : 2023年03月05日 10:22
zzz19760225

C:\Users\Administrator>perl 1.pl
Can't open perl script "1.pl": No such file or directory

C:\Users\Administrator>cd/
-------------------------------------------------------------------------------------------------- 我们会从 hello world 惯例程序开始。say 'hello world';
C:\>perl 1.pl
String found where operator expected at 1.pl line 1, near "say 'hello world'"
(Do you need to predeclare say?)
syntax error at 1.pl line 1, near "say 'hello world'"
Execution of 1.pl aborted due to compilation errors.


在1.pl第1行“say'hello world'”附近的运算符处找到字符串
(你需要预先声明吗?)
1.pl第1行“say'hello world'”附近的语法错误
由于编译错误,1.pl的执行已中止。
--------------------------------------------------------------------------------------------------它也可以被写为:'hello world'.say;
C:\>perl 1.pl

C:\>

刚刚问完,才想起来去西瓜视频搜了一下。
之前放在D盘,应该是路径问题。


Re: Perl 6 中文教学 - 在线文档

发表于 : 2023年03月05日 11:54
523066680
zzz19760225 写了: 2023年03月05日 10:22

C:\Users\Administrator>perl 1.pl
Can't open perl script "1.pl": No such file or directory

Hi, 在另一个帖子回复你了

Perl 6 因为改动太大,完全变成另一种语言了,叫做 Raku
https://rakudo.org/
强大是很强大,甚至有些梦幻

如果你是说 Perl 5 ,最建议的发行版是 Strawberry Perl
https://strawberryperl.com/
下载里面的 strawberry-perl-5.32.1.1-64bit.msi 安装包(或者32位)
我在 WIN7 WIN10 都安装过可以用的

准备上手C++了,不过Perl依然有一些吸引我的地方,去年刚好用Perl解决了一些客户问题(项目里面有大量的文本处理需求)。


Re: Perl 6 中文教学 - 在线文档

发表于 : 2023年03月05日 12:26
zzz19760225

收到,谢谢。