...
首页> 外文期刊>C - C++ Users Journal >EPerl: Perl, C++, and Java
【24h】

EPerl: Perl, C++, and Java

机译:EPerl:Perl,C ++和Java

获取原文
获取原文并翻译 | 示例

摘要

Perl is a powerful programming language supported by a large and active developer community. As a result, thousands of Perl modules and scripts have been developed, many of which are archived at the Comprehensive Perl Archive Network (CPAN) (http://www.cpan.org/). With an extensive repository of code available for reuse, opportunities to utilize this code clearly abound. One way to reuse existing Perl code is to embed it in other languages. For example, you might be in the midst of developing a Java application and need to scrape some data off the Web. Rather than writing your own custom Java (or C++) web scraping routine, you can instead reach for one of several Perl modules freely available for web-page scraping. The small amount of Perl code required for invocation would be embedded in the source of a Java method in the same fashion that a SQL statement is embedded using the standard JDBC call-level interface. The results are automatically retrieved back into the Java runtime environment for manipulation and possible display.
机译:Perl是功能强大的编程语言,受到活跃的大型开发者社区的支持。结果,已经开发了成千上万的Perl模块和脚本,其中许多都在综合Perl存档网络(CPAN)(http://www.cpan.org/)中存档。有了大量可重复使用的代码库,显然有很多使用此代码的机会。重用现有Perl代码的一种方法是将其嵌入其他语言。例如,您可能正在开发Java应用程序,并且需要从Web上抓取一些数据。与其编写您自己的自定义Java(或C ++)Web抓取例程,您可以访问免费的几个可用于网页抓取的Perl模块之一。调用所需的少量Perl代码将以与使用标准JDBC调用级接口嵌入SQL语句相同的方式嵌入Java方法的源代码中。结果将自动检索回到Java运行时环境中,以进行操作和可能的显示。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号