question

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?

相关文章

1. 如何去重 #!/usr/bin/perl use strict; my %hash; while(...
最近写了一个perl脚本,实现的功能是将表格中其中两列的数据...
表的数据字典格式如下:如果手动写MySQL建表语句,确认麻烦,...
巡检类工作经常会出具日报,最近在原有日报的基础上又新增了...
在实际生产环境中,常常需要从后台日志中截取报文,报文的形...
最近写的一个perl程序,通过关键词匹配统计其出现的频率,让...