| 订阅 | 在线投稿
分享
 
 
当前位置: 王朝网络 >> perl >> Perl/TkFAQ-2.Perl/Tk he Tkperl you shen me qu bie ?

Perl/TkFAQ-2.Perl/Tk he Tkperl you shen me qu bie ?

2008-05-18 21:55:35 编辑來源:互联网 评论
 
 
 
本文为【Perl/TkFAQ-2.Perl/Tk和Tkperl有什么区别?】的拼音翻译版
  yuan wen :
  2. What is the difference between perl/Tk and Tkperl?
  [OBSOLETE; move to historical section.] TkPerl was originally the name of a (now unsupported) perl 4 package that Malcolm Beattie mailto:mbeattie@sable.ox.ac.uk at Oxford University gave to his code to wed the Tk X toolkit with Perl. (He has since referred to that package as a different "kettle of fish" from perl/Tk.)
  Since that beginning Malcolm has also come up with a Tcl module for perl 5 that has a Tcl::Tk module extension. That module allows the use of Tcl within a Perl script (i.e. you must know both languages to get your widgets to work.) If you are interested in that package instead, see the necessary kits for Malcolm Beattie's Tcl/Tk extensions to Perl, which have been distrubuted as Tcl-b#.tar.gz and TclTk-b#.tar.gz files in the authors/id/MICB/ directory at CPAN sites (locations given in a separate question in this FAQ).
  The name "tkperl" is sometimes applied to the "perl/Tk" or "ptk" package that is the subject of this FAQ. Nick Ing-Simmons prefers "perl/Tk" as the name of the package, with "pTk" or "ptk" as contractions of that name as well as referring to something technically distinct: given the extensibility of the pTk code the "p" could also be taken to mean 'portable' or 'pure' (not to be confused with either the Helsinki University of Technology portTk, nor with Brian Warkentine's Rivet). In this document the code of interest is either referred to as "perl/Tk", "pTk", or "ptk" though the primary focus is on perl/Tk.
  Warning: do not attempt to install both perl/Tk and Tcl/Tkperl in the same perl installation. The names in the respective modules overlap. In particular the Tcl::Tk module is declared in a Tk.pm file - so a statement like:
  use Tk;
  will probably confuse your perl. If you cannot live without either module then install make & maintain separate perls for each and arrange your script writing accordingly (this will not be easy).
  A more extensive comparison of the differences between the Tkperl and the perl/Tk code is given in the Tcl-perl.pod file that is distributed with perl/Tk (see the following questions for locations).
  Lastly, it should be mentioned that if you build your perl/Tk statically rather than dynamically it will make a new perl interpreter called tkperl (confusing isn't it? :-).
  yi wen :
  2. Perl/Tk he Tkperl you shen me qu bie ?
  TkPerl zui chu shi niu jin da xue de Malcolm Beattie wei le ba Tk X gong ju xiang jie he dao Perl zhong qu , er wei Perl4 kai fa de yi ge de bao (package) de ming zi 。( dan shi ta xian zai yi jing bu zai ti gong zhi chi le ……)
  cong na yi hou Malconlm ye wei Perl5 zuo le yi ge Tcl de mo kuai jiao zuo Tcl::Tk, zhe ge mo kuai yuan xu zai Perl jiao ben zhong zhi jie shi yong Tcl yu yan ( zhe ye jiu yi wei zhe ni bi xu tong shi dong de zhe liang zhong yu yan !)。 ru guo ni shi ji shi dui na ge mo kuai gan xing qu de hua , ke yi cha yue xiang guan de zi liao 。Malcolm Beattie wei Perl zuo de Tcl/Tk kuo zhan mo kuai zai CPAN zhan dian de authors/id/MICB/ mu lu zhong , wen jian ming shi Tcl-b#.tar.gz he TclTk-b#.tar.gz。
  Perl/Tk ( huo ptk) zuo wei wo men zhe ge “ chang jian wen ti ” wen dang de zhu ti , zai you xie qing kuang xia ye hui bei cheng wei “tkperl”。 dan shi , zuo zhe Nick Ing-Simmons huan shi xi wang yong “Perl/Tk” zuo wei zhe ge mo kuai de ming zi , er ba “pTk” huo shi “ptk” zuo wei jian cheng , yin wei zhe ge jian cheng ke yi tong shi an shi chu zhe ge mo kuai yi xie ji shu te dian : ke kuo zhan xing —— ye jiu shi shuo zhe li de “p” ke yi li jie wei shi “ bian xie shi de ”(portable) huo zhe “ chun cui de ”(pure)。( dan shi qing bu yao he fen lan he er xin ji ji shu da xue de portTk ji Brian Warkentine de Rivet hun xiao !) ben wen dang de dai ma zhu yao shi ji zhong zai Perl/Tk, dan shi ye hui she ji pTk huo ptk。
  jing gao : bu yao shi tu zai tong yi ge Perl huan jing zhong an zhuang Perl/Tk he Tcl/Tkperl, yin wei zhe liang ge mo kuai de ming zi shi you chong die de 。 te bie shi Tcl::Tk mo kuai ye bao han zai yi ge jiao Tk.pm de wen jian zhong , yin ci ru xia de yu ju :
  use Tk;
  jiang ke neng hui ling ni de Perl jie shi qi bu zhi suo cuo ( yi zhe zhu : shi yong Perl/Tk mo kuai ye xu yao yong tong yang de yu ju )。 ru guo ni bi xu tong shi an zhuang zhe liang ge mo kuai , na me zhi neng shi zai ni de xi tong zhong tong shi an zhuang liang ge xiang hu du li de Perl huan jing , ran hou fen bie an zhuang xiang ying de mo kuai , bing qie gen ju xu yao bian xie ni de jiao ben 。( zhe yang zuo bing bu rong yi yo !)
  guan yu Tkperl he Perl/Tk zhi jian de qu bie ,Perl/Tk bao zhong de Tcl-perl.pod wen jian li you geng jia xiang xi de bi jiao shuo ming 。( ju ti wei zhi shen yue xia mian wen ti de nei rong )
  zui hou , bi xu shuo ming de shi , ru guo ni shi jing tai de er bu shi dong tai de gou jian ni de Perl/Tk, na me zhe jiang chan sheng chu yi ge xin de ming jiao “tkperl” de Perl jie shi qi 。( zhe xia yun le ba ?:-P)【原文】【汉音对照
 
 
 
 
 
 
 
 
 
日版宠物情人插曲《Winding Road》歌词

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

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

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

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

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

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

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

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

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

 
 
   yuan wen :   2. What is the difference between perl/Tk and Tkperl?   [OBSOLETE; move to historical section.] TkPerl was originally the name of a (now unsupported) perl 4 package that Malcolm Beattie mailto:mbeattie@sable.ox.ac.uk at Oxford University gave to his code to wed the Tk X toolkit with Perl. (He has since referred to that package as a different "kettle of fish" from perl/Tk.)   Since that beginning Malcolm has also come up with a Tcl module for perl 5 that has a Tcl::Tk module extension. That module allows the use of Tcl within a Perl script (i.e. you must know both languages to get your widgets to work.) If you are interested in that package instead, see the necessary kits for Malcolm Beattie's Tcl/Tk extensions to Perl, which have been distrubuted as Tcl-b#.tar.gz and TclTk-b#.tar.gz files in the authors/id/MICB/ directory at CPAN sites (locations given in a separate question in this FAQ).   The name "tkperl" is sometimes applied to the "perl/Tk" or "ptk" package that is the subject of this FAQ. Nick Ing-Simmons prefers "perl/Tk" as the name of the package, with "pTk" or "ptk" as contractions of that name as well as referring to something technically distinct: given the extensibility of the pTk code the "p" could also be taken to mean 'portable' or 'pure' (not to be confused with either the Helsinki University of Technology portTk, nor with Brian Warkentine's Rivet). In this document the code of interest is either referred to as "perl/Tk", "pTk", or "ptk" though the primary focus is on perl/Tk.   Warning: do not attempt to install both perl/Tk and Tcl/Tkperl in the same perl installation. The names in the respective modules overlap. In particular the Tcl::Tk module is declared in a Tk.pm file - so a statement like:   use Tk;   will probably confuse your perl. If you cannot live without either module then install make & maintain separate perls for each and arrange your script writing accordingly (this will not be easy).   A more extensive comparison of the differences between the Tkperl and the perl/Tk code is given in the Tcl-perl.pod file that is distributed with perl/Tk (see the following questions for locations).   Lastly, it should be mentioned that if you build your perl/Tk statically rather than dynamically it will make a new perl interpreter called tkperl (confusing isn't it? :-).    yi wen :   2. Perl/Tk he Tkperl you shen me qu bie ?   TkPerl zui chu shi niu jin da xue de Malcolm Beattie wei le ba Tk X gong ju xiang jie he dao Perl zhong qu , er wei Perl4 kai fa de yi ge de bao (package) de ming zi 。( dan shi ta xian zai yi jing bu zai ti gong zhi chi le ……)    cong na yi hou Malconlm ye wei Perl5 zuo le yi ge Tcl de mo kuai jiao zuo Tcl::Tk, zhe ge mo kuai yuan xu zai Perl jiao ben zhong zhi jie shi yong Tcl yu yan ( zhe ye jiu yi wei zhe ni bi xu tong shi dong de zhe liang zhong yu yan !)。 ru guo ni shi ji shi dui na ge mo kuai gan xing qu de hua , ke yi cha yue xiang guan de zi liao 。Malcolm Beattie wei Perl zuo de Tcl/Tk kuo zhan mo kuai zai CPAN zhan dian de authors/id/MICB/ mu lu zhong , wen jian ming shi Tcl-b#.tar.gz he TclTk-b#.tar.gz。   Perl/Tk ( huo ptk) zuo wei wo men zhe ge “ chang jian wen ti ” wen dang de zhu ti , zai you xie qing kuang xia ye hui bei cheng wei “tkperl”。 dan shi , zuo zhe Nick Ing-Simmons huan shi xi wang yong “Perl/Tk” zuo wei zhe ge mo kuai de ming zi , er ba “pTk” huo shi “ptk” zuo wei jian cheng , yin wei zhe ge jian cheng ke yi tong shi an shi chu zhe ge mo kuai yi xie ji shu te dian : ke kuo zhan xing —— ye jiu shi shuo zhe li de “p” ke yi li jie wei shi “ bian xie shi de ”(portable) huo zhe “ chun cui de ”(pure)。( dan shi qing bu yao he fen lan he er xin ji ji shu da xue de portTk ji Brian Warkentine de Rivet hun xiao !) ben wen dang de dai ma zhu yao shi ji zhong zai Perl/Tk, dan shi ye hui she ji pTk huo ptk。    jing gao : bu yao shi tu zai tong yi ge Perl huan jing zhong an zhuang Perl/Tk he Tcl/Tkperl, yin wei zhe liang ge mo kuai de ming zi shi you chong die de 。 te bie shi Tcl::Tk mo kuai ye bao han zai yi ge jiao Tk.pm de wen jian zhong , yin ci ru xia de yu ju :   use Tk;    jiang ke neng hui ling ni de Perl jie shi qi bu zhi suo cuo ( yi zhe zhu : shi yong Perl/Tk mo kuai ye xu yao yong tong yang de yu ju )。 ru guo ni bi xu tong shi an zhuang zhe liang ge mo kuai , na me zhi neng shi zai ni de xi tong zhong tong shi an zhuang liang ge xiang hu du li de Perl huan jing , ran hou fen bie an zhuang xiang ying de mo kuai , bing qie gen ju xu yao bian xie ni de jiao ben 。( zhe yang zuo bing bu rong yi yo !)    guan yu Tkperl he Perl/Tk zhi jian de qu bie ,Perl/Tk bao zhong de Tcl-perl.pod wen jian li you geng jia xiang xi de bi jiao shuo ming 。( ju ti wei zhi shen yue xia mian wen ti de nei rong )    zui hou , bi xu shuo ming de shi , ru guo ni shi jing tai de er bu shi dong tai de gou jian ni de Perl/Tk, na me zhe jiang chan sheng chu yi ge xin de ming jiao “tkperl” de Perl jie shi qi 。( zhe xia yun le ba ?:-P)
󰈣󰈤
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
时尚秀气模特裴裴(8)
时尚秀气模特裴裴(7)
时尚秀气模特裴裴(6)
时尚秀气模特裴裴(5)
白墙黑瓦
广州东郊[原创]
八美至丹巴的东谷天然盆景
不一样的
 
>>返回首页<<
 
 
 为你推荐
 
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
 
 
 
©2005- 王朝网络 版权所有