简体   繁体   English

Linux是否支持win32 :: OLE?

[英]is win32::OLE supported in linux?

I have a task of manipulating a csv file and fetch the data, i tried installing Win32::OLE in linux but it gave a bad operating system message and terminated while installing does that mean this package in not supported on linux environment 我有一个操作csv文件并获取数据的任务,我尝试在Linux中安装Win32 :: OLE ,但它给出了错误的操作系统消息,并在安装时终止,这意味着Linux环境中不支持此程序包

Also would like to know which package in perl would be neccessary for manipulating .csv or .xls files 还想知道要操作.csv.xls文件,perl中需要哪个软件包

No, you cannot use the Win32::OLE module in Linux because it uses the Windows API. 不,您不能在Linux中使用Win32 :: OLE模块,因为它使用Windows API。 If you need to work with CSV and XLS: 如果您需要使用CSV和XLS:

It looks like it could be possible to use OLE through Wine. 看起来可以通过Wine使用OLE。

From: http://www.perlmonks.org/?node_id=430194 来自: http : //www.perlmonks.org/?node_id=430194

Download and install Windows Installer 2.0 Redistributable for Windows 95, 98, and Me Download latest Active State Perl for Windows in .msi format. 下载并安装适用于Windows 95、98和Me的Windows Installer 2.0 Redistributable,以.msi格式下载适用于Windows的最新Active State Perl。 Eg ActivePerl-5.8.6.811-MSWin32-x86-122208.msi. 例如ActivePerl-5.8.6.811-MSWin32-x86-122208.msi。

Start installation: 开始安装:

$ /opt/cxoffice/bin/wine "C:~WB~WINDOWS~WB~SYSTEM~WB~msiexec.exe" /i ActivePerl-5.8.6.811-MSWin32-x86-122208.msi $ / opt / cxoffice / bin / wine“ C:〜WB〜WINDOWS〜WB〜SYSTEM〜WB〜msiexec.exe” / i ActivePerl-5.8.6.811-MSWin32-x86-122208.msi

$ /opt/cxoffice/bin/wine "c:\\Perl\\bin\\perl.exe" -v $ / opt / cxoffice / bin / wine“ c:\\ Perl \\ bin \\ perl.exe” -v

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM