官术网_书友最值得收藏!

The -e command

The -e option allows you to pass the whole program in a command line. This is useful for short programs that do a few actions or, for example, for small tests when you check how things work in Perl 6.

Run it with the program enclosed in quotes:

$ perl6 -e'say "Hello"'

And this is the result you will see:

Hello
主站蜘蛛池模板: 高碑店市| 永州市| 苍南县| 马公市| 江安县| 自治县| 丹巴县| 宁明县| 于都县| 邢台市| 札达县| 渑池县| 宁德市| 彭泽县| 阿拉善左旗| 河南省| 泰安市| 布尔津县| 垦利县| 唐河县| 怀化市| 汉寿县| 静宁县| 巴林左旗| 荆门市| 灵山县| 新龙县| 仁寿县| 绥江县| 新平| 寿阳县| 淮南市| 肥乡县| 定西市| 精河县| 扶沟县| 南丹县| 霸州市| 龙州县| 西峡县| 盐源县|