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

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
主站蜘蛛池模板: 海城市| 卢龙县| 福泉市| 武城县| 黄山市| 临西县| 伊通| 仁怀市| 朝阳市| 乌兰县| 芒康县| 鞍山市| 定西市| 静安区| 民勤县| 开化县| 威信县| 永嘉县| 华蓥市| 洛南县| 文成县| 卢氏县| 康定县| 磐石市| 中方县| 当雄县| 正宁县| 康乐县| 盐源县| 自治县| 昌图县| 安新县| 翁牛特旗| 阳山县| 岗巴县| 武陟县| 敦煌市| 南投县| 建水县| 桂阳县| 县级市|