1.6. Exercises normally,each chapter will end with some exercises,with the answers in Appendix A. But you don't need to write the programs needed to complete this section as they are supplied within the chapter text. If you can't get these exercises to work on your machine,check your work and then consult your local expert. Remember that you may need to tweak each program a little,as described in the text.
-
[7] Type in the "Hello,world" program and get it to work. (You may name it anything you wish,but a good name might be ex1-1,for simplicity,since it's exercise 1 in Chapter 1.)
-
[5] Type the command perldoc -u -f atan2 at a command prompt and note its output. If you can't get that to work,then find out from a local administrator or the documentation for your version of Perl about how to invoke perldoc or its equivalent. (You'll need this for the next exercise anyway.)
-
[6] Type in the second example program (from the prevIoUs section) and see what it prints. (Hint: Be careful to type those punctuation marks exactly as shown.) Do you see how it changed the output of the command?
 |
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。