- 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
推薦閱讀
- TensorFlow Lite移動端深度學習
- Ceph Cookbook
- JavaScript Unlocked
- 青少年美育趣味課堂:XMind思維導圖制作
- Web Application Development with R Using Shiny(Second Edition)
- 零基礎學MQL:基于EA的自動化交易編程
- JavaScript+Vue+React全程實例
- Magento 1.8 Development Cookbook
- Getting Started with SQL Server 2012 Cube Development
- FLL+WRO樂高機器人競賽教程:機械、巡線與PID
- Oracle Exadata專家手冊
- Protocol-Oriented Programming with Swift
- 微服務架構深度解析:原理、實踐與進階
- 新一代SDN:VMware NSX 網絡原理與實踐
- Babylon.js Essentials