mahafyi1

cro basic question in #raku

May 29th, 2020
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. bash-5.0$ grep -r HELLO *
  2. Dockerfile:ENV HELLO_HOST="0.0.0.0" HELLO_PORT="10000"
  3. Binary file lib/.precomp/B5CAF322277E500A4F406295EF0B5B93C9766C7A/03/03730E58401EF5D9E79D1F674DF0A5F9CF756E33 matches
  4. service.p6: host => %*ENV<HELLO_HOST> ||
  5. service.p6: die("Missing HELLO_HOST in environment"),
  6. service.p6: port => %*ENV<HELLO_PORT> ||
  7. service.p6: die("Missing HELLO_PORT in environment"),
  8. service.p6:say "Listening at http://%*ENV<HELLO_HOST>:%*ENV<HELLO_PORT>";
  9.  
  10. ------------
  11.  
  12. bash-5.0$ tree ../hello
  13. ../hello
  14. ├── Dockerfile
  15. ├── META6.json
  16. ├── README.md
  17. ├── lib
  18. │   └── Routes.pm6
  19. └── service.p6
  20.  
  21. 1 directory, 5 files
Add Comment
Please, Sign In to add comment