Chinaunix

标题: 这几道题谁能回答下吗? [打印本页]

作者: ccc77    时间: 2009-11-22 10:12
标题: 这几道题谁能回答下吗?
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.
. 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?
1. When would you not use Perl for a project?
作者: tommydu    时间: 2009-11-22 10:20
LZ, Google啊
作者: churchmice    时间: 2009-11-22 11:06
ms我都会啊
作者: Perl_Er    时间: 2009-11-22 11:23
标题: 回复 #3 ccc77 的帖子
这么简单的问题,你自己去找吧
作者: unixlinuxsys    时间: 2009-11-22 14:25
不知道怎么回事
看到别人的英语就头晕

解决自己的问题就不会
作者: mwm5    时间: 2009-11-22 14:38
标题: 回复 #1 ccc77 的帖子
看了一下。。。大部分问题。。看过Learning perl之后应该都有答案了的。。

少数问题,可以在perldoc和Programming perl找到答案。。。

perlfaq里头应该也有不少问题的答案。。
作者: mwm5    时间: 2009-11-22 14:39
标题: 回复 #2 兰花仙子 的帖子
国内perl面试的题目。。估计米这么轻松吧?
作者: 兰花仙子    时间: 2009-11-22 15:49
原帖由 mwm5 于 2009-11-22 14:39 发表
国内perl面试的题目。。估计米这么轻松吧?

分等级的~
我以前面试时还分析过超过2000行的source code.
作者: mwm5    时间: 2009-11-22 16:22
标题: 回复 #10 兰花仙子 的帖子
:wink: 高要求。。可以看出用人单位对perl的重视程度。。待遇应该也差不了~~
作者: DQP    时间: 2009-11-22 16:42
搭车求工作。。。。。

地点: 北京
技能: perl 数据库 java

[ 本帖最后由 DQP 于 2009-11-22 16:45 编辑 ]
作者: dahe_1984    时间: 2009-11-23 16:46
这么难的perl面试题。公司干啥啊?
作者: xti9er    时间: 2009-11-24 11:25
貌似不难




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2