| 订阅 | 在线投稿
分享
 
 
当前位置: 王朝网络 >> perl >> gong neng feng fu de Perl: qing song tiao shi Perl de ji qiao

gong neng feng fu de Perl: qing song tiao shi Perl de ji qiao

2008-05-19 06:25:57 编辑來源:互联网 评论
 
 
 
本文为【功能丰富的Perl:轻松调试Perl的技巧】的拼音翻译版
  cuo wu suo dai lai de ma fan
  ruan jian kai fa ren yuan tong chang dou di gu le ruan jian ce shi de chong yao xing 。 zhe yi xian xiang de gen ben yuan yin hen jian dan : chu li cuo wu hen kun nan ! yin wei cuo wu wang wang bao lu le dai ma de gen ben que xian , suo yi you shi hou kai fa ren yuan shen zhi hui wei le ji ge cuo wu er cong tou kai shi chong xin bian xie xiang mu de zhu yao bu fen 。
  wo ren wei , tiao shi ru ci chong yao , yi zhi yu zhi shao yao wei qi fen pei zheng ge xiang mu 30% de shi jian 。 e wai de tiao shi shi jian jiang dao zhi geng hao de chan pin 。 ling yi fang mian , ru guo wei le geng kuai di tui chu ruan jian er suo duan tiao shi shi jian , na me zai ruan jian sheng cheng hou , nin jiang hua shang shuang fen de shi jian lai xiu fu na xie shao hou bao lu chu de wen ti 。
  you san zhong ji ben lei xing de cuo wu : bian ma cuo wu 、 wen dang cuo wu he xu qiu cuo wu 。 xu qiu cuo wu tong chang you yu xu qiu bu yan mi huo que shao xu qiu er dao zhi 。 wen dang cuo wu cun zai yu shou ce huo lian ji bang zhu zhong 。 bian ma cuo wu shi you cheng xu yuan zai shi xian xu qiu shi de cuo wu er yin qi de 。 bu xing de shi , xu qiu cuo wu he wen dang cuo wu bu zai ben wen fan wei zhi nei , yin ci , wo men zhi hao zhi tao lun ru he “ jian ce ”、“ jie jue ” he “ xiu fu ” bian ma cuo wu le 。
  tiao shi de ji ben gai nian
  wo men yi jing jiang bian ma cuo wu ding yi cheng cheng xu yuan zai shi xian xu qiu shi chan sheng de cuo wu 。 bian ma cuo wu hui dao zhi bu zheng que de cheng xu xing wei ( pian li xu qiu de xing wei )。 yin ci , cheng xu yuan zai bian xie huo tiao shi cheng xu zhi qian shou xian ying gai zhi dao de shi cheng xu xu qiu 。
  tiao shi yu shou lie mei shen me bu tong 。 di yi bu shi jian ce cuo wu ( tong guo guan cha cuo wu de xing wei bing que ren qi mo shi )。 zai zhe ge jie duan , cuo wu zhi shi yi xie zheng zhuang 。
  di er bu shi jie jue cuo wu 。 yin wei bi xu yao zai yuan dai ma zhong xiao chu cuo wu , suo yi , ying gai you yi ge jing tong cheng xu de ren lai jian cha cuo wu , bing zhi dao zhe xie cuo wu de gen ben yuan yin 。 ru guo dai ma li jie qi lai geng rong yi , bing qie xian zai de dai ma mei you bi dang chu cuo wu ban ben zhong de dai ma geng duo , ze nin ke neng zuo dui le 。
  di san bu , ye shi zui hou yi bu , shi xiu fu cuo wu ( qing zhu yi “ xiu fu ” yu “ jie jue ” shi you qu bie de )。 tiao shi cheng xu jiang yuan dai ma geng gai fang ru “ xian chang ” de sheng chan guo cheng , ran hou jian cha ta shi fou zheng que 。 ru guo dai ma bu zheng que , ze biao ming nin mei you jie jue cuo wu , shen zhi geng zao gao de shi , ke neng huan yin ru le xin de cuo wu 。 ji ran jie jue cuo wu de mu de bu ying gai shi yin ru xin cuo wu , qing que bao zai jie jue cuo wu zhi hou xiu fu mei ge cuo wu 。
  yao que bao xun su zhao dao cuo wu bing hen hao di li jie ta men , nin ying gai dui tiao shi guo cheng zhong cheng xu shi yong mo kuai he lei zai mei ge zhu yao fen zhi chu de cao zuo fei chang qing chu 。 dang ran , zhe yao qiu nin dui bian xie dai ma suo yong de yu yan ( zai wo men de shi li zhong shi Perl) you shen ru de le jie 。 yin wei cun zai suo you zhe xie xu qiu , suo yi hen nan zhao dao hao de ruan jian ce shi ren yuan 。
  Perl tiao shi qi
  Perl cheng xu yuan de di yi ge zi yuan shi Perl suo dai de tiao shi qi 。 ru nin suo jian , zhe shou shi yong gai tiao shi qi shi fei chang rong yi de 。
  yong tiao shi qi yun xing yi ge jiao ben
  perl -d program.pl
  Perl tiao shi qi zi dai bang zhu ('h' huo 'h h' fen bie yong yu xiang xi he jian duan de bang zhu ping mu )。perldoc perldebug ye mian ( zai ming ling ti shi chuang kou shu ru "perldoc perldebug") you geng wan zheng de Perl tiao shi qi miao shu 。
  xian zai , rang wo men cong yi ge you cuo wu de cheng xu zhe shou , kan yi xia Perl tiao shi qi shi ru he gong zuo de 。 shou xian , ta jiang chang shi da yin yi ge wen jian de qian 20 xing 。
  buggy.pl
  #!/usr/bin/perl -w
  use strict;
  foreach (0..20)
  {
  my $line = ;
  print "$_ : $line";
  }
  dang ta du zi yun xing shi ,buggy.pl jiang shi bai , bing gei chu xiao xi :"Use of uninitialized value in concatenation (.) at ./buggy.pl line 8, line 9."。 geng shen mi de shi , ta huan zi ji zai yi xing shang da yin "9:" bing deng dai yong hu shu ru 。
  na yi wei zhe shen me ? ru guo tiao yong le Perl tiao shi qi , nin ke neng yi jing zhao dao wen ti suo zai le 。
  shou xian , rang wo men zheng shi zhe ge cuo wu shi ke yi chong fu de 。 wo men jiang zai di 8 xing she zhi yi ge cao zuo lai da yin fa sheng cuo wu de $line, ran hou zai yun xing cheng xu 。
  buggy.pl tiao shi qi ming ling
  perl -d ./buggy.pl buggy.pl
  Default die handler restored.
  Loading DB routines from perl5db.pl version 1.07
  Editor support available.
  Enter h or `h h' for help, or `man perldebug' for more help.
  main::(./buggy.pl:5):
  foreach (0..20)
  main::(./buggy.pl:6):
  {
  DB use Data::Dumper
  DB a 8 print 'The line variable is now ', Dumper $line
  zhuang ru le Data::Dumper mo kuai , yi bian zi dong cao zuo ke yi shi yong yi zhong mei guan de shu chu ge shi 。 zi dong cao zuo bei she zhi cheng mei ci dao da di 8 xing shi dou zhi xing da yin yu ju 。 xian zai , rang wo men yan shi yi xia 。
  buggy.pl tiao shi qi ming ling , di 2 bu fen
  DB c
  The line variable is now $VAR1 = '#!/usr/bin/perl -w
  ';
  0 : #!/usr/bin/perl -w
  The line variable is now $VAR1 = '
  ';
  1 :
  The line variable is now $VAR1 = 'use strict;
  ';
  2 : use strict;
  The line variable is now $VAR1 = '
  ';
  3 :
  The line variable is now $VAR1 = 'foreach (0..20)
  ';
  4 : foreach (0..20)
  The line variable is now $VAR1 = '{
  ';
  5 : {
  The line variable is now $VAR1 = ' my $line = ;
  ';
  6 :
  my $line = ;
  The line variable is now $VAR1 = ' print "$_ : $line";
  ';
  7 :
  print "$_ : $line";
  The line variable is now $VAR1 = '}
  ';
  8 : }
  The line variable is now $VAR1 = undef;
  Use of uninitialized value in concatenation (.) at ./buggy.pl line 8, line 9.
  9 :
  xian zai hen qing chu , mei you ding yi xing bian liang shi jiu hui chu wen ti 。 er qie , cheng xu deng dai geng duo de shu ru 。 zai an 11 ci hui che jian chan sheng le yi xia shu chu :
  buggy.pl tiao shi qi ming ling , di 3 bu fen
  The line variable is now $VAR1 = '
  ';
  10 :
  The line variable is now $VAR1 = '
  ';
  11 :
  The line variable is now $VAR1 = '
  ';
  12 :
  The line variable is now $VAR1 = '
  ';
  13 :
  The line variable is now $VAR1 = '
  ';
  14 :
  The line variable is now $VAR1 = '
  ';
  15 :
  The line variable is now $VAR1 = '
  ';
  16 :
  The line variable is now $VAR1 = '
  ';
  17 :
  The line variable is now $VAR1 = '
  ';
  18 :
  The line variable is now $VAR1 = '
  ';
  19 :
  The line variable is now $VAR1 = '
  ';
  20 :
  Debugged program terminated.
  Use q to quit or R to restart,
  use O inhibit_exit to avoid stopping after program termination,
  h q, h R or h O to get additional info.
  DB
  dao xian zai wei zhi yi jing hen qing chu le , you yu ji shi zai bu cun zai xing de qing kuang xia , cheng xu reng wu tiao jian di deng dai 20 xing de shu ru , suo yi cheng xu hui chu cuo 。 xiu fu jiu shi yao zai cong filehandle du qu $line zhi hou ce shi ta :
  buggy.pl fixed
  #!/usr/bin/perl -w
  use strict;
  foreach (0..20)
  {
  my $line = ;
  last unless defined $line;# exit loop if $line is not defined
  print "$_ : $line";
  }
  ru nin suo jian , xiu fu guo de cheng xu zai suo you qing kuang xia dou ke yi zheng que gong zuo !
  guan yu Perl tiao shi qi de jie lun
  Emacs bian ji qi zhi chi Perl tiao shi qi bing shi qi geng yi yu shi yong 。 nin ke yi zai Emacs zhong shi yong Info( shu ru M-x info) lai yue du you guan GUD Emacs de geng xiang xi xin xi 。GUD shi yu Perl tiao shi qi yi qi gong zuo de quan ju tiao shi fang shi ( dang zai Emacs zhong bian ji Perl cheng xu shi shu ru M-x perldb)。
  zhi xu shao liang gong zuo jiu ke yi rang vi xi lie de bian ji qi ye neng zhi chi Perl tiao shi qi 。 you guan xiang xi xin xi , qing shen yue perldoc perldebug ye mian 。 you guan qi ta bian ji qi de xin xi , qing shen kao mei ge bian ji qi de wen dang 。
  Perl nei zhi de tiao shi qi shi yi ge qiang da de gong ju , ke yi zhi xing bi wo men gang gang kan dao de jian dan yong fa fu duo de duo de ren wu 。 dan ta de que yao qiu shi yong zhe ju bei da liang Perl zhuan men zhi shi 。 zheng yin wei ru ci , wo men xian zai yao kan yi xie jian dan xie de gong ju , zhe xie gong ju jiang geng shi he chu ji he zhong ji Perl cheng xu yuan 。
  Devel::ptkdb
  yao shi yong Devel::ptkdb tiao shi qi , shou xian de cong CPAN( qing shen yue xia mian de shen kao zi liao ) xia zai ta bing jiang ta an zhuang zai nin de xi tong shang 。( mou xie yong hu ke neng huan xu yao an zhuang Tk mo kuai , gai mo kuai ye ke yi cong CPAN huo de 。) jiu wo ge ren kan lai ,Devel::ptkdb zai UNIX xi tong ( ru Linux) shang zui hao yong 。( sui ran zai li lun shang Devel::ptkdb bing bu xian yu yu UNIX jian rong de xi tong , dan shi , wo cong wei ting shuo guo you ren cheng gong di zai Windows shang shi yong Devel::ptkdb。 zheng ru yi ju lao hua suo jiang : chu le hua xue chuan guo xuan zhuan men zhi wai , ren he shi dou shi ke neng de 。)
  ru guo wu fa rang xi tong guan li yuan wei nin an zhuang ( li ru , yin wei nin zi ji jiu shi xi tong guan li yuan ), ke yi chang shi zai ming ling ti shi xing zhi xing yi xia cao zuo ( ke neng xu yao yi root shen fen zhi xing zhe xie cao zuo ):
  cong CPAN an zhuang Devel::ptkdb
  perl -MCPAN -e'install Tk'
  perl -MCPAN -e'install Devel::ptkdb'
  ru guo shi di yi ci yun xing CPAN an zhuang li cheng , na me , zai hui da yi xie chu shi wen ti zhi hou , jiang zi dong xia zai bing an zhuang shi dang de mo kuai 。
  ke yi yong ptkdb tiao shi qi yun xing cheng xu , ru xia suo shi ( shi yong wo men yi qian de buggy.pl shi li ):
  shi yong Devel::ptkdb
  perl -d:ptkdb buggy.pl buggy.pl
  yao yue du Devel::ptkdb mo kuai de wen dang , qing shi yong ming ling "perldoc Devel::ptkdb"。 wo men zai ben wen zhong shi yong ban ben 1.1071。( sui ran geng xin de ban ben ke neng sui shi wen shi , dan ta men yu wo men zheng zai shi yong de ban ben ying gai mei you hen da de bu
  【原文】【汉音对照
 
 
 
 
 
 
 
 
 
日版宠物情人插曲《Winding Road》歌词

日版宠物情人2017的插曲,很带节奏感,日语的,女生唱的。 最后听见是在第8集的时候女主手割伤了,然后男主用嘴帮她吸了一下,插曲就出来了。 歌手:Def...

兄弟共妻,我成了他们夜里的美食

老钟家的两个儿子很特别,就是跟其他的人不太一样,魔一般的执着。兄弟俩都到了要结婚的年龄了,不管自家老爹怎么磨破嘴皮子,兄弟俩说不娶就不娶,老父母为兄弟两操碎了心...

如何磨出破洞牛仔裤?牛仔裤怎么剪破洞?

把牛仔裤磨出有线的破洞 1、具体工具就是磨脚石,下面垫一个硬物,然后用磨脚石一直磨一直磨,到把那块磨薄了,用手撕开就好了。出来的洞啊很自然的。需要猫须的话调几...

我就是扫描下图得到了敬业福和爱国福

先来看下敬业福和爱国福 今年春节,支付宝再次推出了“五福红包”活动,表示要“把欠大家的敬业福都还给大家”。 今天该活动正式启动,和去年一样,需要收集“五福”...

冰箱异味产生的原因和臭味去除的方法

有时候我们打开冰箱就会闻到一股异味,冰箱里的这种异味是因为一些物质发出的气味的混合体,闻起来让人恶心。 产生这些异味的主要原因有以下几点。 1、很多人有这种习...

 
 
   cuo wu suo dai lai de ma fan    ruan jian kai fa ren yuan tong chang dou di gu le ruan jian ce shi de chong yao xing 。 zhe yi xian xiang de gen ben yuan yin hen jian dan : chu li cuo wu hen kun nan ! yin wei cuo wu wang wang bao lu le dai ma de gen ben que xian , suo yi you shi hou kai fa ren yuan shen zhi hui wei le ji ge cuo wu er cong tou kai shi chong xin bian xie xiang mu de zhu yao bu fen 。    wo ren wei , tiao shi ru ci chong yao , yi zhi yu zhi shao yao wei qi fen pei zheng ge xiang mu 30% de shi jian 。 e wai de tiao shi shi jian jiang dao zhi geng hao de chan pin 。 ling yi fang mian , ru guo wei le geng kuai di tui chu ruan jian er suo duan tiao shi shi jian , na me zai ruan jian sheng cheng hou , nin jiang hua shang shuang fen de shi jian lai xiu fu na xie shao hou bao lu chu de wen ti 。    you san zhong ji ben lei xing de cuo wu : bian ma cuo wu 、 wen dang cuo wu he xu qiu cuo wu 。 xu qiu cuo wu tong chang you yu xu qiu bu yan mi huo que shao xu qiu er dao zhi 。 wen dang cuo wu cun zai yu shou ce huo lian ji bang zhu zhong 。 bian ma cuo wu shi you cheng xu yuan zai shi xian xu qiu shi de cuo wu er yin qi de 。 bu xing de shi , xu qiu cuo wu he wen dang cuo wu bu zai ben wen fan wei zhi nei , yin ci , wo men zhi hao zhi tao lun ru he “ jian ce ”、“ jie jue ” he “ xiu fu ” bian ma cuo wu le 。    tiao shi de ji ben gai nian    wo men yi jing jiang bian ma cuo wu ding yi cheng cheng xu yuan zai shi xian xu qiu shi chan sheng de cuo wu 。 bian ma cuo wu hui dao zhi bu zheng que de cheng xu xing wei ( pian li xu qiu de xing wei )。 yin ci , cheng xu yuan zai bian xie huo tiao shi cheng xu zhi qian shou xian ying gai zhi dao de shi cheng xu xu qiu 。    tiao shi yu shou lie mei shen me bu tong 。 di yi bu shi jian ce cuo wu ( tong guo guan cha cuo wu de xing wei bing que ren qi mo shi )。 zai zhe ge jie duan , cuo wu zhi shi yi xie zheng zhuang 。    di er bu shi jie jue cuo wu 。 yin wei bi xu yao zai yuan dai ma zhong xiao chu cuo wu , suo yi , ying gai you yi ge jing tong cheng xu de ren lai jian cha cuo wu , bing zhi dao zhe xie cuo wu de gen ben yuan yin 。 ru guo dai ma li jie qi lai geng rong yi , bing qie xian zai de dai ma mei you bi dang chu cuo wu ban ben zhong de dai ma geng duo , ze nin ke neng zuo dui le 。    di san bu , ye shi zui hou yi bu , shi xiu fu cuo wu ( qing zhu yi “ xiu fu ” yu “ jie jue ” shi you qu bie de )。 tiao shi cheng xu jiang yuan dai ma geng gai fang ru “ xian chang ” de sheng chan guo cheng , ran hou jian cha ta shi fou zheng que 。 ru guo dai ma bu zheng que , ze biao ming nin mei you jie jue cuo wu , shen zhi geng zao gao de shi , ke neng huan yin ru le xin de cuo wu 。 ji ran jie jue cuo wu de mu de bu ying gai shi yin ru xin cuo wu , qing que bao zai jie jue cuo wu zhi hou xiu fu mei ge cuo wu 。    yao que bao xun su zhao dao cuo wu bing hen hao di li jie ta men , nin ying gai dui tiao shi guo cheng zhong cheng xu shi yong mo kuai he lei zai mei ge zhu yao fen zhi chu de cao zuo fei chang qing chu 。 dang ran , zhe yao qiu nin dui bian xie dai ma suo yong de yu yan ( zai wo men de shi li zhong shi Perl) you shen ru de le jie 。 yin wei cun zai suo you zhe xie xu qiu , suo yi hen nan zhao dao hao de ruan jian ce shi ren yuan 。   Perl tiao shi qi   Perl cheng xu yuan de di yi ge zi yuan shi Perl suo dai de tiao shi qi 。 ru nin suo jian , zhe shou shi yong gai tiao shi qi shi fei chang rong yi de 。    yong tiao shi qi yun xing yi ge jiao ben   perl -d program.pl   Perl tiao shi qi zi dai bang zhu ('h' huo 'h h' fen bie yong yu xiang xi he jian duan de bang zhu ping mu )。perldoc perldebug ye mian ( zai ming ling ti shi chuang kou shu ru "perldoc perldebug") you geng wan zheng de Perl tiao shi qi miao shu 。    xian zai , rang wo men cong yi ge you cuo wu de cheng xu zhe shou , kan yi xia Perl tiao shi qi shi ru he gong zuo de 。 shou xian , ta jiang chang shi da yin yi ge wen jian de qian 20 xing 。   buggy.pl   #!/usr/bin/perl -w   use strict;   foreach (0..20)   {   my $line = ;   print "$_ : $line";   }    dang ta du zi yun xing shi ,buggy.pl jiang shi bai , bing gei chu xiao xi :"Use of uninitialized value in concatenation (.) at ./buggy.pl line 8, line 9."。 geng shen mi de shi , ta huan zi ji zai yi xing shang da yin "9:" bing deng dai yong hu shu ru 。    na yi wei zhe shen me ? ru guo tiao yong le Perl tiao shi qi , nin ke neng yi jing zhao dao wen ti suo zai le 。    shou xian , rang wo men zheng shi zhe ge cuo wu shi ke yi chong fu de 。 wo men jiang zai di 8 xing she zhi yi ge cao zuo lai da yin fa sheng cuo wu de $line, ran hou zai yun xing cheng xu 。   buggy.pl tiao shi qi ming ling    perl -d ./buggy.pl buggy.pl   Default die handler restored.   Loading DB routines from perl5db.pl version 1.07   Editor support available.   Enter h or `h h' for help, or `man perldebug' for more help.   main::(./buggy.pl:5):   foreach (0..20)   main::(./buggy.pl:6):   {   DB use Data::Dumper   DB a 8 print 'The line variable is now ', Dumper $line    zhuang ru le Data::Dumper mo kuai , yi bian zi dong cao zuo ke yi shi yong yi zhong mei guan de shu chu ge shi 。 zi dong cao zuo bei she zhi cheng mei ci dao da di 8 xing shi dou zhi xing da yin yu ju 。 xian zai , rang wo men yan shi yi xia 。   buggy.pl tiao shi qi ming ling , di 2 bu fen   DB c   The line variable is now $VAR1 = '#!/usr/bin/perl -w   ';   0 : #!/usr/bin/perl -w   The line variable is now $VAR1 = '   ';   1 :   The line variable is now $VAR1 = 'use strict;   ';   2 : use strict;   The line variable is now $VAR1 = '   ';   3 :   The line variable is now $VAR1 = 'foreach (0..20)   ';   4 : foreach (0..20)   The line variable is now $VAR1 = '{   ';   5 : {   The line variable is now $VAR1 = ' my $line = ;   ';   6 :   my $line = ;   The line variable is now $VAR1 = ' print "$_ : $line";   ';   7 :   print "$_ : $line";   The line variable is now $VAR1 = '}   ';   8 : }   The line variable is now $VAR1 = undef;   Use of uninitialized value in concatenation (.) at ./buggy.pl line 8, line 9.   9 :    xian zai hen qing chu , mei you ding yi xing bian liang shi jiu hui chu wen ti 。 er qie , cheng xu deng dai geng duo de shu ru 。 zai an 11 ci hui che jian chan sheng le yi xia shu chu :   buggy.pl tiao shi qi ming ling , di 3 bu fen   The line variable is now $VAR1 = '   ';   10 :   The line variable is now $VAR1 = '   ';   11 :   The line variable is now $VAR1 = '   ';   12 :   The line variable is now $VAR1 = '   ';   13 :   The line variable is now $VAR1 = '   ';   14 :   The line variable is now $VAR1 = '   ';   15 :   The line variable is now $VAR1 = '   ';   16 :   The line variable is now $VAR1 = '   ';   17 :   The line variable is now $VAR1 = '   ';   18 :   The line variable is now $VAR1 = '   ';   19 :   The line variable is now $VAR1 = '   ';   20 :   Debugged program terminated.   Use q to quit or R to restart,   use O inhibit_exit to avoid stopping after program termination,   h q, h R or h O to get additional info.   DB    dao xian zai wei zhi yi jing hen qing chu le , you yu ji shi zai bu cun zai xing de qing kuang xia , cheng xu reng wu tiao jian di deng dai 20 xing de shu ru , suo yi cheng xu hui chu cuo 。 xiu fu jiu shi yao zai cong filehandle du qu $line zhi hou ce shi ta :   buggy.pl fixed   #!/usr/bin/perl -w   use strict;   foreach (0..20)   {   my $line = ;   last unless defined $line; # exit loop if $line is not defined   print "$_ : $line";   }    ru nin suo jian , xiu fu guo de cheng xu zai suo you qing kuang xia dou ke yi zheng que gong zuo !    guan yu Perl tiao shi qi de jie lun   Emacs bian ji qi zhi chi Perl tiao shi qi bing shi qi geng yi yu shi yong 。 nin ke yi zai Emacs zhong shi yong Info( shu ru M-x info) lai yue du you guan GUD Emacs de geng xiang xi xin xi 。GUD shi yu Perl tiao shi qi yi qi gong zuo de quan ju tiao shi fang shi ( dang zai Emacs zhong bian ji Perl cheng xu shi shu ru M-x perldb)。    zhi xu shao liang gong zuo jiu ke yi rang vi xi lie de bian ji qi ye neng zhi chi Perl tiao shi qi 。 you guan xiang xi xin xi , qing shen yue perldoc perldebug ye mian 。 you guan qi ta bian ji qi de xin xi , qing shen kao mei ge bian ji qi de wen dang 。   Perl nei zhi de tiao shi qi shi yi ge qiang da de gong ju , ke yi zhi xing bi wo men gang gang kan dao de jian dan yong fa fu duo de duo de ren wu 。 dan ta de que yao qiu shi yong zhe ju bei da liang Perl zhuan men zhi shi 。 zheng yin wei ru ci , wo men xian zai yao kan yi xie jian dan xie de gong ju , zhe xie gong ju jiang geng shi he chu ji he zhong ji Perl cheng xu yuan 。   Devel::ptkdb    yao shi yong Devel::ptkdb tiao shi qi , shou xian de cong CPAN( qing shen yue xia mian de shen kao zi liao ) xia zai ta bing jiang ta an zhuang zai nin de xi tong shang 。( mou xie yong hu ke neng huan xu yao an zhuang Tk mo kuai , gai mo kuai ye ke yi cong CPAN huo de 。) jiu wo ge ren kan lai ,Devel::ptkdb zai UNIX xi tong ( ru Linux) shang zui hao yong 。( sui ran zai li lun shang Devel::ptkdb bing bu xian yu yu UNIX jian rong de xi tong , dan shi , wo cong wei ting shuo guo you ren cheng gong di zai Windows shang shi yong Devel::ptkdb。 zheng ru yi ju lao hua suo jiang : chu le hua xue chuan guo xuan zhuan men zhi wai , ren he shi dou shi ke neng de 。)    ru guo wu fa rang xi tong guan li yuan wei nin an zhuang ( li ru , yin wei nin zi ji jiu shi xi tong guan li yuan ), ke yi chang shi zai ming ling ti shi xing zhi xing yi xia cao zuo ( ke neng xu yao yi root shen fen zhi xing zhe xie cao zuo ):    cong CPAN an zhuang Devel::ptkdb   perl -MCPAN -e'install Tk'   perl -MCPAN -e'install Devel::ptkdb'    ru guo shi di yi ci yun xing CPAN an zhuang li cheng , na me , zai hui da yi xie chu shi wen ti zhi hou , jiang zi dong xia zai bing an zhuang shi dang de mo kuai 。    ke yi yong ptkdb tiao shi qi yun xing cheng xu , ru xia suo shi ( shi yong wo men yi qian de buggy.pl shi li ):    shi yong Devel::ptkdb   perl -d:ptkdb buggy.pl buggy.pl    yao yue du Devel::ptkdb mo kuai de wen dang , qing shi yong ming ling "perldoc Devel::ptkdb"。 wo men zai ben wen zhong shi yong ban ben 1.1071。( sui ran geng xin de ban ben ke neng sui shi wen shi , dan ta men yu wo men zheng zai shi yong de ban ben ying gai mei you hen da de bu   
󰈣󰈤
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
华丽的模特拍摄(8)
华丽的模特拍摄(7)
华丽的模特拍摄(6)
华丽的模特拍摄(5)
八里沟
朝阳宫
天下峨眉 云上金顶
老家(四)
 
>>返回首页<<
 
 
 为你推荐
 
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
 
 
 
©2005- 王朝网络 版权所有