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

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
主站蜘蛛池模板: 广元市| SHOW| 卓资县| 云林县| 博野县| 朔州市| 临江市| 红安县| 扶沟县| 平原县| 汕头市| 噶尔县| 军事| 湄潭县| 中江县| 繁昌县| 乌拉特后旗| 金堂县| 大关县| 酉阳| 楚雄市| 山东省| 韶关市| 黔南| 荆门市| 福鼎市| 大名县| 闽清县| 涿州市| 增城市| 舞钢市| 阿荣旗| 朝阳市| 齐齐哈尔市| 江安县| 城步| 墨脱县| 吉木乃县| 沭阳县| 平果县| 琼结县|