Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

jagne kvrj, ngochan1126@hotmail.­com, a asdfghjhhjjkl', cvezrtg, chink chinese frankies, lambhead@rocketmail.com, priwalfdept77@yahoo.de, from scipy.optimize import minpack2 ImportError: DLL load failed: 找不到指定的模块。, yamlå, adfghjshjklç

Links

XODOX
Impressum

#1: Re: 删除列表中给定值的元素?

Posted on 2011-09-03 03:55:32 by Secluded Life

grepä¸æ¯é¢åå­ç¬¦ä¸²çï¼æ­£å表达å¼ææ¯ï¼èä¸æ°å­è½¬ä¸ºå­ç¬¦ä¸²è½¬å°±è½¬äºï¼Perlä¸åºå

ã å¨ asdfghj (HJKL) ç大ä½ä¸­æå°: ã
: perl é没ææä¾å é¤å表éç»å®å¼çåç´ çå½æ°ï¼å¯¹åï¼
: æç¨ grep è²ä¼¼å¯ä»¥ï¼
: my @list = 0 .. 2;
: ...................

--

â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message

#2: Re: 删除列表中给定值的元素?

Posted on 2011-09-03 04:07:46 by HJKL

å¦ï¼é£è¦å é¤ç¹å®å¼çè¯ï¼ç¨grep æ­£åä¼åºé®é¢çï¼å¾å¯è½è¯¯å å¶ä»çï½
æ¯ä¸æ¯åºè¯¥æ¹æ grep !/^$todel$/, @list

ä¹åè¯è¿map sub(xx) @list ä½æ¯è¿æ ·å表é¿åº¦ä¸ä¼åï¼åªæ¯ç¹å®å¼
åæäº '' 空串~

ã å¨ FenRagwort (Secluded Life) ç大ä½ä¸­æå°: ã
: grepä¸æ¯é¢åå­ç¬¦ä¸²çï¼æ­£å表达å¼ææ¯ï¼èä¸æ°å­è½¬ä¸ºå­ç¬¦ä¸²è½¬å°±è½¬äºï¼Perlä¸åºå


--
48 65 6C 6C 6F 77 6F 72 6C 64 21
thanks to http://patorjk.com/software/taag/


â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message

#3: Re: 删除列表中给定值的元素?

Posted on 2011-09-03 04:29:42 by Secluded Life

å«è¿å空å­ç¬¦ä¸²ï¼è¿å空å表()

ã å¨ asdfghj (HJKL) ç大ä½ä¸­æå°: ã
: å¦ï¼é£è¦å é¤ç¹å®å¼çè¯ï¼ç¨grep æ­£åä¼åºé®é¢çï¼å¾å¯è½è¯¯å å¶ä»çï½
: æ¯ä¸æ¯åºè¯¥æ¹æ grep !/^$todel$/, @list
: ä¹åè¯è¿map sub(xx) @list ä½æ¯è¿æ ·å表é¿åº¦ä¸ä¼åï¼åªæ¯ç¹å®å¼
: ...................

--

â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message