ChinaUnix.net
相关文章推荐:

perl调用c动态库

或者: 如何在perl中执行C程序呢?因为查到Linux环境下c如何调用的资料。 谢谢了。。

by ddgo2 - Perl - 2004-04-21 08:08:34 阅读(1788) 回复(5)

相关讨论

linux AS4.0 update4系统 perl V5.8.5built for i386-linux-thread-multi perl InLine-0.44 perl脚本中实现对外部动态链接函数的调用并返回值。使用定制的动态链接my.so文件(/lib/my.so),使用my.h(/tmp/myTest.h),使用外部函数test并返回值. perl源码test.pl如下: #!/usr/bin/perl -w use Inline (Config => DIRECTORY => '/tmp/test', ); use Inline C => Config => LIBS => ' -lmy....

by richard_marx - Perl - 2008-02-10 20:27:42 阅读(7004) 回复(20)

因为有很多进程要以nobody的身份运行,运行的时候又需要LD_LIBRARY_PATH动态加载一些

by py - Perl - 2004-12-05 00:02:42 阅读(2265) 回复(2)

PHP真的可以完成很多工作,但有的工作的确只适合和Per协同来做。

by hsb857 - PHP - 2005-10-23 19:53:13 阅读(3032) 回复(10)

能不能用perl调用IE,打开IE窗口,并输入\\10.1.3.11\d$这样的字符.....

by 打靶归来 - Perl - 2007-09-19 13:44:23 阅读(5144) 回复(6)

perl 怎么调用dll?请给一个详细的例子

by lbj - Perl - 2007-02-14 10:18:38 阅读(5856) 回复(1)

我用perl调用expect,telnet到一台交换机,发现有时能登上去,有时不行,我需要调整哪些参数?:roll:

by 屠龙 - Perl - 2006-07-26 08:43:24 阅读(1330) 回复(1)

一般大家在perl使用Expect.pm。 我想在perl直接调用expect脚本,利用expect完成su root后,在perl中执行root的其他操作,不知是否可行?:roll:

by 屠龙 - Perl - 2006-07-04 18:08:03 阅读(1257) 回复(0)

在copy中调用了_ckftp,但是调用的时候只给了两个参数,为什么在_ckftp中可以shift三次呢?是不是调用的时候第一个参数是系统给的什么东西? sub _cktftp { ### ### -- Check tftp arguments my($self) = shift; my($addr) = shift; my($file) = shift; } sub copy { ### ### -- Copy a running-config to a tftp server file my($self) = shift; my($addr) = shift || return undef; my($file) = shift || retur...

by iwanthome - Perl - 2003-12-16 11:56:23 阅读(1212) 回复(1)

众所周知,我们可以用以下代码动态加载pm包 require Fcntl; Fcntl->import(qw(O_EXCL O_CREAT O_RDWR)); 但现在我想动态卸载,好像没有相关的资料,望高手指点一下,谢谢。

by china_yebin - Perl - 2009-07-18 18:36:04 阅读(1318) 回复(5)

use strict; use warnings; foreach my $file ( @ARGV ) { print( "Checking $file: " ); if ( -e $file ) { # does file exist? print( "$file exists!\n" ); if ( -f $file ) { # is the file a plain file? print( "The file $file is:" ); print( " executable" ) if ( -x $file ); # executable? print( " readable" ) if ( -r $file ); # readable? ...

by orablue - Perl - 2009-07-31 11:04:55 阅读(2223) 回复(5)