1). What arguments do you frequently use for the Perl interpreter and what do they mean?
2). What does the command ‘use strict’ do and why should you use it?
3). What do the symbols $ @ and % mean when prefixing a variable?
4). What elements of the Perl language Could you use to structure your code to allow for maximum re-use and maximum readability?
5). What are the characteristics of a project that is well suited to Perl?
6). Why do you program in Perl?
7). Explain the difference between my and local.
8). Explain the difference between use and require. 9). What’s your favorite module and why? 10). What is a hash? 11). Write a simple (common) regular expression to match an IP address,e-mail address,city-state-zipcode combination. 12). What purpose does each of the following serve: -w,strict,-T ? 13). What is the difference between for & foreach,exec & system? 14). Where do you go for Perl help? 15). Name an instance where you used a CPAN module. 16). How do you open a file for writing? 17). How would you replace a char in string and how do you store the number of replacements? 18). When would you not use Perl for a project?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。