- Perl 6 Deep Dive
- Andrew Shitov
- 64字
- 2021-07-03 00:05:44
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
推薦閱讀
- Spring 5.0 Microservices(Second Edition)
- Rust編程:入門、實戰(zhàn)與進階
- C語言程序設(shè)計實訓(xùn)教程
- C語言最佳實踐
- Python應(yīng)用輕松入門
- Data Analysis with Stata
- C++程序設(shè)計基礎(chǔ)教程
- Mastering Python Networking
- 自制編程語言
- Node.js Design Patterns
- ElasticSearch Cookbook(Second Edition)
- Xcode 6 Essentials
- Data Science Algorithms in a Week
- Python預(yù)測分析實戰(zhàn)
- 精通Spring:Java Web開發(fā)與Spring Boot高級功能