Perl 6 中文教学 - 在线文档

There's more than one way to do it!
https://metacpan.org http://perlmonks.org
回复
头像
523066680
Administrator
Administrator
帖子: 573
注册时间: 2016年07月19日 12:14
联系:

Perl 6 中文教学 - 在线文档

帖子 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 初学者快速上手。
头像
rubyish
渐入佳境
渐入佳境
帖子: 52
注册时间: 2018年04月23日 09:58
联系:

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

帖子 rubyish »

:shy_smile 3Q~

$_
头像
523066680
Administrator
Administrator
帖子: 573
注册时间: 2016年07月19日 12:14
联系:

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

帖子 523066680 »

rubyish 写了: 2023年01月26日 02:53

:shy_smile 3Q~

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

zzz19760225
一代宗师
一代宗师
帖子: 930
注册时间: 2017年12月25日 11:12
联系:

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

帖子 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>
后面就不知道怎么用了

zzz19760225
一代宗师
一代宗师
帖子: 930
注册时间: 2017年12月25日 11:12
联系:

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

帖子 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盘,应该是路径问题。

头像
523066680
Administrator
Administrator
帖子: 573
注册时间: 2016年07月19日 12:14
联系:

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

帖子 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解决了一些客户问题(项目里面有大量的文本处理需求)。

zzz19760225
一代宗师
一代宗师
帖子: 930
注册时间: 2017年12月25日 11:12
联系:

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

帖子 zzz19760225 »

收到,谢谢。

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 2 访客