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: 请教为什么同样的参数执行结果却有差异?

Posted on 2011-09-03 04:40:20 by nihao

太费解äºï¼ï¼ï¼
foreach my $key(keys %hash)
{
print Dumper($key);
my $response = item_update($key,$desc);
}

foreach my $key(keys %hash)
{
$key = "10300208";
print Dumper($key);
my $response = item_update($key,$desc);
}

æå°çkeyé½æ¯
$VAR1 = '10300208';
$VAR1 = '10300208';

ä½æ¯å½æ°item_updateæ§è¡ç»æå´ä¸ä¸æ ·ï¼å¤ªè´¹è§£äºï¼ï¼

--

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

Report this message

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

Posted on 2011-09-03 04:41:40 by HJKL

å¦ï¼å¤è°¢ï¼
ã å¨ FenRagwort (Secluded Life) ç大ä½ä¸­æå°: ã
: å«è¿å空å­ç¬¦ä¸²ï¼è¿å空å表()


--
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 06:44:37 by nihao

大侠解éä¸ä¸å¤§æ¦å¯è½çåå å¢ï¼hashçkeyæ¯ä»ç½ç»ä¸è·åçå¼ï¼ædumpåºæ¥ä»¥åæ¯103002008ï¼èªå·±æå·¥ç´æ¥ç»keyèµå¼åitem_updateæå·¥ä½æ­£å¸¸ãè¿å­ç¬¦ä¸²ä¹æ²¡çåºæ¥æä»ä¹ç¼ç é®é¢åï¼å¥æª


ã å¨ slice (nihao) ç大ä½ä¸­æå°: ã
: æ  é¢: 请æ为ä»ä¹åæ ·çåæ°æ§è¡ç»æå´æå·®å¼ï¼
: åä¿¡ç«: æ°´æ¨ç¤¾åº (Sat Sep 3 12:40:19 2011), 转信
:
: 太费解äºï¼ï¼ï¼
: foreach my $key(keys %hash)
: {
: print Dumper($key);
: my $response = item_update($key,$desc);
: }
:
: foreach my $key(keys %hash)
: {
: $key = "10300208";
: print Dumper($key);
: my $response = item_update($key,$desc);
: }
:
: æå°çkeyé½æ¯
: $VAR1 = '10300208';
: $VAR1 = '10300208';
:
: ä½æ¯å½æ°item_updateæ§è¡ç»æå´ä¸ä¸æ ·ï¼å¤ªè´¹è§£äºï¼ï¼
:
: --
:
: â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message

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

Posted on 2011-09-03 07:58:01 by whoo-ah!

@res = grep { $_ != $todel } @list;

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

--
å¨å°è¾¾å±±é¡¶çè·¯ä¸ï¼æäºäººèµ°å¾æ¢ï¼æäºäººç»äºå¼¯è·¯ï¼ä½å¯è½çå°æ´å¤çé£æ¯ï¼
æ¶è·æ´å¤çææã


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

Report this message

#5: Re: 请教为什么同样的参数执行结果却有差异?

Posted on 2011-09-03 08:28:30 by nihao

ç¼ç é®é¢ï¼å¥æªï¼æç¨
print map {sprintf "%2X ",$_} unpack("C*",$key);æ¯è¾äºä¸ï¼ç»æè¿æ¯ä¸æ ·çã
ä½æ¯æç¨encode utf8转äºä¸ä¸å°±å¯ä»¥äºï¼perl中å¯ä»¥çè¿äºå­ç¬¦å ç¨çåå­ä¹ï¼æ»è§å¾æäºä¿¡æ¯è¢«perlç»éèèµ·æ¥äºï¼

ã å¨ slice (nihao) ç大ä½ä¸­æå°: ã
: æ  é¢: Re: 请æ为ä»ä¹åæ ·çåæ°æ§è¡ç»æå´æå·®å¼ï¼
: åä¿¡ç«: æ°´æ¨ç¤¾åº (Sat Sep 3 14:44:36 2011), 转信
:
: 大侠解éä¸ä¸å¤§æ¦å¯è½çåå å¢ï¼hashçkeyæ¯ä»ç½ç»ä¸è·åçå¼ï¼ædumpåºæ¥ä»¥åæ¯103002008ï¼èªå·±æå·¥ç´æ¥ç»keyèµå¼åitem_updateæå·¥ä½æ­£å¸¸ãè¿å­ç¬¦ä¸²ä¹æ²¡çåºæ¥æä»ä¹ç¼ç é®é¢åï¼å¥æª
:
:
: ã å¨ slice (nihao) ç大ä½ä¸­æå°: ã
: : æ  é¢: 请æ为ä»ä¹åæ ·çåæ°æ§è¡ç»æå´æå·®å¼ï¼
: : åä¿¡ç«: æ°´æ¨ç¤¾åº (Sat Sep 3 12:40:19 2011), 转信
: :
: : 太费解äºï¼ï¼ï¼
: : foreach my $key(keys %hash)
: : {
: : print Dumper($key);
: : my $response = item_update($key,$desc);
: : }
: :
: : foreach my $key(keys %hash)
: : {
: : $key = "10300208";
: : print Dumper($key);
: : my $response = item_update($key,$desc);
: : }
: :
: : æå°çkeyé½æ¯
: : $VAR1 = '10300208';
: : $VAR1 = '10300208';
: :
: : ä½æ¯å½æ°item_updateæ§è¡ç»æå´ä¸ä¸æ ·ï¼å¤ªè´¹è§£äºï¼ï¼
: :
: : --
: :
: : â» æ¥æº:ã»æ°´æ¨ç¤¾åº

Report this message

#6: Re: 请教为什么同样的参数执行结果却有差异?

Posted on 2011-09-03 11:26:13 by 诚聘粉丝中...

perldoc Devel::Peek

ã å¨ slice (nihao) ç大ä½ä¸­æå°: ã
: ç¼ç é®é¢ï¼å¥æªï¼æç¨
: print map {sprintf "%2X ",$_} unpack("C*",$key);æ¯è¾äºä¸ï¼ç»æè¿æ¯ä¸æ ·çã
: ä½æ¯æç¨encode utf8转äºä¸ä¸å°±å¯ä»¥äºï¼perl中å¯ä»¥çè¿äºå­ç¬¦å ç¨çåå­ä¹ï¼æ»è§å¾æäºä¿¡æ¯è¢«perlç»éèèµ·æ¥äºï¼
: ...................

--
åèªæç iPhone4


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

Report this message