Re: ActiveState announces ActivePerl 5.14.2

2011-10-14 Thread Xiao Yafeng
Congratulations~~ by the way, is MinGW built into this version? or I'd rather stay in 5.12. ;) On Fri, Oct 14, 2011 at 2:57 AM, Jan Dubois wrote: > ActiveState is pleased to announce ActivePerl 5.14.2 build 1402, > a complete, ready-to-install binary distributions of Perl. > > Builds for Window

problem with DBD::ADO

2011-08-03 Thread Xiao Yafeng
Hello, I've used DBD::ADO module lately, but stuck at the beginning. below is test code: # use DBD::Oracle use DBI; my $dbh = DBI->connect("dbi:Oracle:adas", 'adas', 'adas', { "RaiseErro+r" => 1 } ) or die $DBI::errstr; #my $dbh = DBI->connect("dbi:ADO:Provider=OraOLEDB.Oracle;Data Source=+a

How create a date+time type of vbs in perl?

2011-04-18 Thread Xiao Yafeng
Hi, Is there a way to create a date type of vbs in perl? for example, how can I translate below vbs statement into perlish one? date_from = DateSerial(2011,03, 23) + timeserial(6, 0, 0) any reply is really appreciated. _

Re: How create a time object of VBS in perl?

2010-09-19 Thread Xiao Yafeng
I've used vbconverter to translate now function into perl: package VBS; use strict; use Win32::OLE::NLS qw(:TIME :DATE GetLocaleInfo GetUserDefaultLCID LOCALE_SMONTHNAME1 LOCALE_SABBREVMONTHNAME1 LOCALE_SDAYNAME1 LOCALE_SABBREVDAYNAME1

How create a time object of VBS in perl?

2010-09-18 Thread Xiao Yafeng
Hi, Could you tell me how create a time object of VBS in perl? Below statement define a starting time and pass it to the getdata function to get data in VBS: start_time = DateSerial( 2003, 01, 31) + TimeSerial( 6, 0, 0) data_array = lpd.getdata(id, start_time) But I don't know how to translate

Invitation to connect on LinkedIn

2010-08-23 Thread Xiao Yafeng
LinkedIn Xiao Yafeng requested to add you as a connection on LinkedIn: -- Muhubo, I'd like to add you to my professional network on LinkedIn. - Xiao Accept invitation from Xiao Yafeng http://www.linkedin.com/e/litvyn-gd878f

Re: fork and kill process

2009-07-28 Thread Xiao Yafeng
How do you know spawned process can not be killed? posting the code could let us help you better. 2009/7/28 Aclhk Aclhk > if we use Win32::Process, we could not kill all associated child processes. > > --- *2009年7月28日 星期二,Bill Luebkert * 寫道﹕ > > > 寄件人: Bill Luebkert > 主題: Re: fork and kill proc

Re: Perl6 though IIS7 CGI

2009-04-06 Thread Xiao Yafeng
I know my English is not well, but I guess s/awful/awesome/ ? On 4/7/09, Lyle wrote: > Hi All, > I know this is a bit off topic, but I couldn't think of a list that > would have as much IIS/CGI knowledge as you guys. > > I'm trying to get the latest build of Rakudo Perl 6 to run as a CGI > thro

Can't install CGI::Application::Demo

2008-10-07 Thread Xiao Yafeng
throw error: Unpacking Config-General-2.40 ... failed ERROR: Can't extract files from C:\DOCUME~1\xiaoa\LOCALS~1\Temp\ppm-xamw0m/config-General-2.40.tgz ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.Acti

problem with perl script transfered from VB script

2008-08-06 Thread Xiao Yafeng
I've transfered some VB script that insert some data into Oracle by DCOM component into perl by VB script converter. Below is the code: Please note $rs is ADO recordset! vb script: Option Explicit Const cnNoFlags = 0 Const cnNoCheckpoint = -1 Dim ctMgr 'Container Manager Dim aeMgr 'Active El