Re: spinoff of -- untethered child process [on unix w/special parameters]

2016-08-04 Thread Francisco Zarabozo
If you are on Solaris, then you should be able to effectively fork and exec: # fork and exec ("perl", "tasker.pl", $taskserialized); # ...or, if you want to pass the whole call as a single argument to system, try removing the new line characters be

Re: untethered child process

2016-08-02 Thread Francisco Zarabozo
Hello John, I’m going to share an undocumented secret with you. :-) *This works on Windows only* If you pass the number 1 as the first argument to the system function, then Perl executes it in a detached mode and lets you continue without waiting for it to return. This is an example:

Re: untethered child process

2016-08-02 Thread Andy Grundman
Hi John, I'd also suggest looking at Win32::Job, and trying the sample script it includes in its 'eg' directory: https://metacpan.org/source/JDB/Win32-Job-0.05/eg I expect this will be easier to use than the lower-level Win32::Process. -- Andy Grundman // an...@activestate.com _

Re: untethered child process

2016-08-02 Thread Kenneth Ölwing
Officer Paradigm Consulting /“Proudly presenting the Vinopedia System”/ www.vinopedia.us <http://www.vinopedia.us/> 49 Dalby Street Newton, MA 02458 Mobile: 617-610-2424 Fax: 617-600-7326 ---- *From:*Howard Tanner [mailto:tan...@optonline.net] *Sent:* Tuesday, August

RE: untethered child process

2016-08-02 Thread John DePasquale
nt: Tuesday, August 02, 2016 1:51 PM To: 'John DePasquale' Subject: RE: untethered child process Did you use the DETACHED_PROCESS option on the Win32::Process->Create? This should in theory do what you want. From: activeperl-boun...@listserv.activestate.com [mailto:activepe

Re: it's probably just me

2015-10-28 Thread nonlin
om: "John DePasquale" To: "'Francisco Zarabozo'" ; Sent: Wednesday, October 28, 2015 11:17 AM Subject: RE: it's probably just me > Autovivication. Interesting concept. I didn't realize that such a reference > in a print statement was causing new

Re: it's probably just me

2015-10-28 Thread nonlin
I am not expert but I do know the fallowing. Purl is like driving a car with automatic gear shift. Where other languages like C are like driving a car with a stick shift. It is not necessary to use a My Local or Var statement to define a variable, you can make them on the fly with out them. But

Re: it's probably just me

2015-10-28 Thread Francisco Zarabozo
://perldoc.perl.org/functions/local.html HTH :-) Francisco Zarabozo -Mensaje original- From: John DePasquale Sent: Wednesday, October 28, 2015 10:17 AM To: 'Francisco Zarabozo' ; activeperl@listserv.ActiveState.com Subject: RE: it's probably just me Autovivication. Interesti

RE: it's probably just me

2015-10-28 Thread John DePasquale
us 49 Dalby Street Newton, MA 02458 Mobile: 617-610-2424 Fax: 617-600-7326 -Original Message- From: Francisco Zarabozo [mailto:fzarab...@hotmail.com] Sent: Wednesday, October 28, 2015 11:48 AM To: John DePasquale; activeperl@listserv.ActiveState.com Subject: Re: it's probably ju

Re: it's probably just me

2015-10-28 Thread Francisco Zarabozo
> From: John DePasquale, Sent: Wednesday, October 28, 2015 9:13 AM >The following snippet prints a 1 >local @aList; >push @aList, ['first','second','third']; >my $nCount = @aList; >print "count: $nCount"; Yes, of course it does. Afte

RE: it's probably just me

2015-10-28 Thread JONES, ROBERT E CTR USAF AETC AETC/A5TP
If you're creating an array you should use parenthesis (). Robert Jones, BSP, BSCS TTMS Project Interfaces Keesler AFB -Original Message- From: activeperl-boun...@listserv.activestate.com [mailto:activeperl-boun...@listserv.activestate.com] On Behalf Of John DePasquale Sent: Wedn

RE: reading vfp dbf files

2015-09-20 Thread Phil Brewer
Hi John I did have cause to use the DBI::ODBC driver about eight years ago. To connect to the database I used something similar to: $user = ""; $password = ""; $dsno2 = "driver=Microsoft Visual FoxPro Driver;SourceDB=C:Comp_A.dbc;SourceType=DBC;Exclusive=No"; unless ($do = DBI->co

Re: Perl - ECCN Request

2015-06-04 Thread Jeff Hobbs
Hi Joice, EAR99. Please see the faq on this topic: https://community.activestate.com/faq/what-eccn-activeperl Regards, Jeff On Thu, Jun 4, 2015 at 7:32 AM, Joice Joy wrote: > Hi, > > I am trying to compile the Export Control Classification Number (ECCN) > for the third-party software ( whose

Re: cursor manipulation

2015-02-15 Thread Jeff Hobbs
It's possible the lack of an update() is what is needed, but note that setting the cursor on the toplevel (I'm assuming that's what type $wDB is) only applies the cursor to descendants that do not have their own cursor type set. Widgets like entry and text have their own cursor type, so you'd need

Re: using Tkx to access Tcl variable

2015-02-02 Thread Jeff Hobbs
The answer to that question is: Tkx::set("tcl_platform($key)") However if you are using this for windowing system information, you should instead use: Tkx::tk("windowingsystem") or Tkx::tk_windowingsystem() which returns win32, aqua or x11. On Mon, Feb 2, 2015 at 7:57 AM, Mike Ignatoski wro

Re: Active Perl 5.18.1

2013-09-05 Thread Francisco Zarabozo
> On Thu, Sep 5, 2013 at 2:11 PM, Jan Dubois wrote: > > Will be out later this month; mostly just waiting for QA cycles. > > Cheers, > -Jan Excellent. Thanks for the info Jan. :-) Francisco ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.c

Re: Active Perl 5.18.1

2013-09-05 Thread Jan Dubois
On Thu, Sep 5, 2013 at 5:11 AM, Francisco Zarabozo wrote: > > Just wondering if someone can tell about an estimated release date for > Active Perl 5.18.1. Will be out later this month; mostly just waiting for QA cycles. Cheers, -Jan ___ ActivePerl mail

RE: Help connection to mysql database

2013-06-26 Thread Brian Raven
From: activeperl-boun...@listserv.activestate.com [mailto:activeperl-boun...@listserv.activestate.com] On Behalf Of zilore mumba Sent: 25 June 2013 23:04 To: activeperl@listserv.activestate.com Subject: Help connection to mysql database > Excuse my total ignorance on the above subject. I am tryin

RE: Help connection to mysql database

2013-06-26 Thread Henry Hartley
On: Tuesday, June 25, 2013 At: 6:04 PM, zilore mumba Wrote: >> $db ="IP address"; # should the IP address be here or I just >> put MySQL? This should be the actual name of the database. Naturally I don't know what your database is named, so I cannot tell you what it shou

RE: "fake" hive in the registry on 64 bit windows

2013-04-15 Thread Perlmutter, Joshua B
ril 13, 2013 10:02 PM To: Perlmutter, Joshua B; activeperl@listserv.ActiveState.com Subject: RE: "fake" hive in the registry on 64 bit windows I'm not certain if this is your problem, but if you are running an x86 copy of Perl on an x64 system, and you are using backticks for execution

RE: "fake" hive in the registry on 64 bit windows

2013-04-13 Thread Joel Friedman
I'm not certain if this is your problem, but if you are running an x86 copy of Perl on an x64 system, and you are using backticks for execution, Windows filesystem redirection will kick in and actually execute %windir%\SysWOW64\reg.exe. The x86 version of reg.exe is different, and may (purpose

Re: cURL in ActiveState Perl

2013-04-11 Thread Michael Ludwig
Brian Raven schrieb am 11.04.2013 um 16:54 (+): > From: On Behalf Of Kevin Holleran > > Is there a cURL library for ActiveState perl? > Sounds like you are looking for LWP, which is part of the standard > distribution, IIRC. Look at LWP::Simple to start with, and if that's > not enough 'perl

RE: cURL in ActiveState Perl

2013-04-11 Thread Brian Raven
From: activeperl-boun...@listserv.activestate.com [mailto:activeperl-boun...@listserv.activestate.com] On Behalf Of Kevin Holleran Sent: 11 April 2013 17:34 To: activeperl@listserv.ActiveState.com Subject: cURL in ActiveState Perl > Good afternoon, > > Is there a cURL library for ActiveState perl

Re: cURL in ActiveState Perl

2013-04-11 Thread Christopher Taranto
Hi Kevin, Install MinGW and use CPAN http://www.activestate.com/blog/2010/10/how-install-cpan-modules-activeperl (see towards the bottom) Chris On Thu, Apr 11, 2013 at 9:33 AM, Kevin Holleran wrote: > Good afternoon, > > Is there a cURL library for ActiveState perl? I am running ActiveState

Re: Update ack

2013-04-02 Thread Jan Dubois
ack version 2 is still marked as a beta. The PPM repo only contains "real" releases and ignores alpha/beta/dev versions. Once a non-beta version of ack gets uploaded to CPAN it should be built for PPM as well. Cheers, -Jan On Tue, Apr 2, 2013 at 5:30 AM, Peng Yu wrote: > Hi, > > ack is not of

Re: XML::LibXML broken on PPM

2013-03-08 Thread Lyle
; Best regards, > > Francisco > > > -Mensaje original- > From: Jan Dubois > Sent: Friday, March 08, 2013 12:33 PM > To: Francisco Zarabozo > Cc: Active State Perl Mailing List > Subject: Re: XML::LibXML broken on PPM > > On Wed, Mar 6, 2013 at 6:53 PM, Franci

Re: XML::LibXML broken on PPM

2013-03-08 Thread Francisco Zarabozo
Good to know. Thank you very much Jan! :-) Best regards, Francisco -Mensaje original- From: Jan Dubois Sent: Friday, March 08, 2013 12:33 PM To: Francisco Zarabozo Cc: Active State Perl Mailing List Subject: Re: XML::LibXML broken on PPM On Wed, Mar 6, 2013 at 6:53 PM, Francisco

Re: XML::LibXML broken on PPM

2013-03-08 Thread Jan Dubois
On Wed, Mar 6, 2013 at 6:53 PM, Francisco Zarabozo wrote: > > perl Makefile.PL INC=-IC:\pathtocincludes\include LIBS=-LC:\pathtolibs\lib > > Those should contain all the include and lib files from iconv, LibXML and > zlib. Thanks. We have a distropref setting that does this, but it was keyed on

Re: XML::LibXML broken on PPM

2013-03-07 Thread Francisco Zarabozo
tate has no time to fix it on PPM at the moment (according to an email I received from supp...@activestate.com). Best regards, Francisco Zarabozo From: Michiel Beijen Sent: Thursday, March 07, 2013 12:11 AM To: Francisco Zarabozo Cc: supp...@activestate.com ; Active State Perl Mailing List

Re: XML::LibXML broken on PPM

2013-03-06 Thread Michiel Beijen
Hi, can you please share instructions? Esp. Compiling libxml on Windows is not easy for me, I tried but failed. Op 7 mrt. 2013 03:53 schreef "Francisco Zarabozo" het volgende: > > To whom may concern (@ActiveState): > > Regarding the message bellow, scratch that. 'LIBS' and 'INC' need to be > def

Re: XML::LibXML broken on PPM

2013-03-06 Thread Francisco Zarabozo
To whom may concern (@ActiveState): Regarding the message bellow, scratch that. 'LIBS' and 'INC' need to be defined in the call to Makefile.PL. Example: perl Makefile.PL INC=-IC:\pathtocincludes\include LIBS=-LC:\pathtolibs\lib Those should contain all the include and lib files from iconv, Lib

Re: Problem with Switch.pm

2013-01-17 Thread Christopher Taranto
On Thu, Jan 17, 2013 at 11:39 AM, $Bill Luebkert wrote: > On 1/17/2013 06:26, Rothenmaier, Deane wrote: > > Gurus, > > > > I’m having a problem getting Switch to work. I have a subroutine which > is just a large switch statement, and switch statements (including a nested > one) in the mainline cod

Re: Problem with Switch.pm

2013-01-17 Thread $Bill Luebkert
On 1/17/2013 06:26, Rothenmaier, Deane wrote: > Gurus, > > I’m having a problem getting Switch to work. I have a subroutine which is > just a large switch statement, and switch statements (including a nested one) > in the mainline code. As separate programs (with the subroutine broken out > into

Re: How to install Bio::AlignIO?

2013-01-03 Thread Jan Dubois
On Thu, Jan 3, 2013 at 10:51 AM, Peng Yu wrote: > >> ppm does not find Bio::AlignIO. But it is available on cpan. Does > >> anybody know how to install Bio::AlignIO? Also is there a way to check > >> what perl module is available in ActivePerl? > > > > You did not mention the platform you use Act

Re: How to install Bio::AlignIO?

2013-01-03 Thread Peng Yu
>> ppm does not find Bio::AlignIO. But it is available on cpan. Does >> anybody know how to install Bio::AlignIO? Also is there a way to check >> what perl module is available in ActivePerl? > > You did not mention the platform you use ActivePerl on. For Windows; > the solution would be to install

Re: How to install Bio::AlignIO?

2013-01-03 Thread Michiel Beijen
Hi, On Thu, Jan 3, 2013 at 7:43 PM, Peng Yu wrote: > ppm does not find Bio::AlignIO. But it is available on cpan. Does > anybody know how to install Bio::AlignIO? Also is there a way to check > what perl module is available in ActivePerl? You did not mention the platform you use ActivePerl on.

RE: DBD::Oracle loaded by ppm does not work with Perl 5.14

2012-11-29 Thread Brian Raven
> -Original Message- > From: activeperl-boun...@listserv.activestate.com [mailto:activeperl- > boun...@listserv.activestate.com] On Behalf Of Fischer, RonaldX O > Sent: 29 November 2012 15:16 > To: activeperl@listserv.ActiveState.com > Subject: DBD::Oracle loaded by ppm does not work with P

RE: Printf not working

2012-10-17 Thread FRASER, JACK B
:16 PM To: FRASER, JACK B Cc: activeperl@listserv.ActiveState.com Subject: Re: Printf not working On 10/16/2012 16:32, FRASER, JACK B wrote: > print " Starting program to print out decimal to hex chart \n"; > > @HexD = ('0','1','2','3',&#x

Re: Printf not working

2012-10-16 Thread $Bill Luebkert
On 10/16/2012 16:32, FRASER, JACK B wrote: > print " Starting program to print out decimal to hex chart \n"; > > @HexD = ('0','1','2','3','4','5,','6','7','8','9','A','B','C','D','E','F'); > > for ($i = 0;$i < 255;$i = $i++) { > > printf("%3S=$HexD[INT($i / 16)]$HexD[$i % 16] ", $i

Re: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available

2012-10-16 Thread Mark Dootson
Hi, I uploaded PPM's for DBD::mysql 4.022 to the repository at http://www.wxperl.co.uk/repository I already had the builds setup for Citrus Perl so it was not so big a task to build for ActivePerl. PPM's available for Perl 5.12, 5.14, 5.16 The trick if you wish to build yourself in future

RE: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available

2012-10-04 Thread Jan Dubois
On Thu, 04 Oct 2012, Michiel Beijen wrote: > > As for the GUI crash, I heard back from QA that this issue only happens on > > OS X 10.8 systems that have been upgraded from an earlier version of OS X, > > and not on fresh installs of Mountain Lion. That way it slipped through the > > release testin

Re: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available

2012-10-04 Thread Michiel Beijen
Jan, On Thu, Oct 4, 2012 at 9:44 PM, Jan Dubois wrote: > Yes, we will probably switch to 64-bit-only builds on OS X for Perl 5.18 > next year. Switching the 5.16 builds right now will require setting up yet > another PPM repo and build system, and will also not work well with the PPM > Index pag

RE: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available

2012-10-04 Thread Jan Dubois
, October 04, 2012 12:23 PM To: Jan Dubois Cc: activeperl@listserv.activestate.com Subject: Re: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available Hi Jan, On Thu, Oct 4, 2012 at 8:42 PM, Jan Dubois wrote: I needed this myself before too, but the problem is that ActivePerl is a

Re: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available

2012-10-04 Thread Michiel Beijen
Hi Jan, On Thu, Oct 4, 2012 at 8:42 PM, Jan Dubois wrote: > I needed this myself before too, but the problem is that ActivePerl is > a "fat" binary (contains executable code for both the 32-bit and 64-bit > version in the same files). That means any modules must be built the > same way, and th

RE: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available

2012-10-04 Thread Jan Dubois
On Thu, 04 Oct 2012, Michiel Beijen wrote: > And yes, it would be very helpful for other ActivePerl users if > someone at ActiveState would make sure there is a DBD-mysql package > available on OS X. I needed this myself before too, but the problem is that ActivePerl is a "fat" binary (contains ex

RE: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available

2012-10-04 Thread Eric Robertson
>-Original Message- >From: activeperl-boun...@listserv.activestate.com [mailto:activeperl- >boun...@listserv.activestate.com] On Behalf Of Michiel Beijen >Sent: 04 October 2012 12:55 >To: Brian Raven >Cc: activeperl@listserv.activestate.com >Subject: Re: Active

Re: PerlEx on windows server 2003, 64 bit

2012-10-04 Thread Larry McPhillips
en click "Set Application Pool Defaults". You'll see the option for "Enable 32-bit Applications" and you can set that to TRUE. You may have to re-start the web site / web server for it to take effect. Hopefully this will save someone the 2 hours of r

Re: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available

2012-10-04 Thread Michiel Beijen
Hi Lyle, On Thu, Oct 4, 2012 at 12:46 PM, Lyle wrote: > Have you added any of the other PPM repositories? > Are you getting an error from the crash? > Could your firewall be blocking it? I have not added any repositories. I just installed ActivePerl, ran 'ppm' and it crashed. See link below for

Re: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available

2012-10-04 Thread Michiel Beijen
Hi Brian, On Thu, Oct 4, 2012 at 1:38 PM, Brian Raven wrote: > A quick look at the failed build logs found there suggest that mysql may not > have been installed on the build box. > > Can't exec "mysql_config": No such file or directory at Makefile.PL line > 83. > > Perhaps somebody at Act

RE: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available

2012-10-04 Thread Brian Raven
> -Original Message- > From: activeperl-boun...@listserv.activestate.com [mailto:activeperl- > boun...@listserv.activestate.com] On Behalf Of Michiel Beijen > Sent: 04 October 2012 08:54 > To: activeperl@listserv.activestate.com > Subject: ActivePerl on OS X: ppm not working, no DBD::mysql

Re: ActivePerl on OS X: ppm not working, no DBD::mysql PPM available

2012-10-04 Thread Lyle
Have you added any of the other PPM repositories? Are you getting an error from the crash? Could your firewall be blocking it? Lyle On 04/10/2012 08:53, Michiel Beijen wrote: Hi, I just installed ActivePerl on OS X. When I set the PATH correctly and I started PPM; I saw a screen flash briefly

Re: CPAN client issues on ActiveState 5.16.1 64-bit

2012-09-19 Thread Michael Ludwig
Michiel Beijen schrieb am 19.09.2012 um 07:20 (+0200): > > I'm using the all-new 5.16.1 ActiveState perl with 64-bit dmake. > However if I try to install a module via the cpan client I see an > error like below, would anyone have any advice? > CPAN.pm: Building D/DP/DPARIS/Crypt-IDEA-1.08.tar.g

RE: Issues w/ POSIX's strftime() ?

2012-09-18 Thread Perez, Aaron P.
Subject: Re: Issues w/ POSIX's strftime() ? On 9/14/12 9:31 PM, $Bill Luebkert wrote: > On 9/14/2012 18:12, Philip Prindeville wrote: >> I tried to use strftime() with '%T' and it fails... but works when I use >> '%H:%M:%S' instead. Is this a known issue? >

Re: Issues w/ POSIX's strftime() ?

2012-09-18 Thread Philip Prindeville
On 9/18/12 3:38 PM, $Bill Luebkert wrote: > On 9/18/2012 12:28, Philip Prindeville wrote: >> Well, I remember that when I was at Microsoft (lowers his head), there was a >> lot of use of ActiveState perl in the build machinery for the Windows kernel. >> >> I wouldn't be surprised if Microsoft had

Re: Issues w/ POSIX's strftime() ?

2012-09-18 Thread $Bill Luebkert
On 9/18/2012 12:28, Philip Prindeville wrote: > > Well, I remember that when I was at Microsoft (lowers his head), there was a > lot of use of ActiveState perl in the build machinery for the Windows kernel. > > I wouldn't be surprised if Microsoft had a couple of full-time ActiveState > folks on

Re: Issues w/ POSIX's strftime() ?

2012-09-18 Thread Philip Prindeville
ill Luebkert >> Cc: activeperl@listserv.ActiveState.com >> Subject: Re: Issues w/ POSIX's strftime() ? >> >> On 9/14/12 9:31 PM, $Bill Luebkert wrote: >>> On 9/14/2012 18:12, Philip Prindeville wrote: >>>> I tried to use strftime() with '%T' and it f

RE: Issues w/ POSIX's strftime() ?

2012-09-18 Thread Brian Raven
> -Original Message- > From: activeperl-boun...@listserv.activestate.com [mailto:activeperl- > boun...@listserv.activestate.com] On Behalf Of Philip Prindeville > Sent: 18 September 2012 04:20 > To: $Bill Luebkert > Cc: activeperl@listserv.ActiveState.com > Subject:

Re: Issues w/ POSIX's strftime() ?

2012-09-17 Thread Philip Prindeville
On 9/14/12 9:31 PM, $Bill Luebkert wrote: > On 9/14/2012 18:12, Philip Prindeville wrote: >> I tried to use strftime() with '%T' and it fails... but works when I use >> '%H:%M:%S' instead. Is this a known issue? > I thought I reported that years ago - you have to use %H:%M:%S > instead until someo

Re: Issues w/ POSIX's strftime() ?

2012-09-14 Thread $Bill Luebkert
On 9/14/2012 18:12, Philip Prindeville wrote: > I tried to use strftime() with '%T' and it fails... but works when I use > '%H:%M:%S' instead. Is this a known issue? I thought I reported that years ago - you have to use %H:%M:%S instead until someone fixes it. > Also, '%Z' is supposed to give th

Re: Odd warning w/ Mail::Header

2012-09-12 Thread Philip Prindeville
On 9/12/12 3:55 AM, Brian Raven wrote: [snip] > That line is in the extract function. You don't show any of your code, but > the error message suggests that extract is being called with a string > containing "From", or possibly an array whose first entry is "From", rather > than an array ref, wh

RE: Odd warning w/ Mail::Header

2012-09-12 Thread Brian Raven
> -Original Message- > From: activeperl-boun...@listserv.activestate.com [mailto:activeperl- > boun...@listserv.activestate.com] On Behalf Of Philip Prindeville > Sent: 12 September 2012 00:11 > To: ActivePerl@listserv.ActiveState.com > Subject: Odd warning w/ Mail::Header > > I'm running A

Re: Date data handlin {was: no subject]

2012-09-11 Thread zilore mumba
1, 2012 10:15 AM Subject: Re: Date data handlin {was: no subject] I am late to this problem, but I found this a good problem to try to show the steps I'd take to solve it. http://perl5maven.com/understanding-dates-using-regexes regards   Gabor ___

Re: Date data handlin {was: no subject]

2012-09-11 Thread Gabor Szabo
I am late to this problem, but I found this a good problem to try to show the steps I'd take to solve it. http://perl5maven.com/understanding-dates-using-regexes regards Gabor ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubsc

Re: Date data handlin {was: no subject]

2012-09-10 Thread zilore mumba
This is to acknowledge my high appreciation for all who helped me with my date reformatting. My problem is solved. As I received various suggestions I will test all of them. My problem is now solved. I want to thank specifically, Bill Luebkert, Ken Slater, C

Re: Date data handlin {was: no subject]

2012-09-10 Thread Andy_Bach
>From your pasted snippet, the biggest problem was spaces - between the "$" and the RE var name and a space after the RE string - this works: my $dateST = qr{\d{4} \d{2} \d{2}}; my $dateEND = qr{\d{2} \d{2} \d{4}}; my $line; while () { s#[-/]# #g; print "D:

Re: Known issues with Win32::OLE?

2012-08-24 Thread Philip Prindeville
On 8/24/12 2:51 PM, Francisco Zarabozo wrote: > -Mensaje original- > From: Philip Prindeville > Sent: Friday, August 24, 2012 2:37 PM > >>> On 8/23/12 3:34 AM, Brian Raven wrote: >>> I may be missing something, but if you want to test a GUI, wouldn't >>> something like Win32::GuiTest be m

Re: Known issues with Win32::OLE?

2012-08-24 Thread Francisco Zarabozo
-Mensaje original- From: Philip Prindeville Sent: Friday, August 24, 2012 2:37 PM > > On 8/23/12 3:34 AM, Brian Raven wrote: > > I may be missing something, but if you want to test a GUI, wouldn't > > something like Win32::GuiTest be more useful? > > > > > > -- > > Brian Raven > > I coul

Re: Known issues with Win32::OLE?

2012-08-24 Thread Philip Prindeville
On 8/23/12 3:34 AM, Brian Raven wrote: >> -Original Message- >> From: activeperl-boun...@listserv.activestate.com [mailto:activeperl- >> boun...@listserv.activestate.com] On Behalf Of Philip Prindeville >> Sent: 22 August 2012 22:52 >> To: ActivePerl@listserv.ActiveState.com >> Subject: Kno

Re: Known issues with Win32::OLE?

2012-08-24 Thread Philip Prindeville
On 8/22/12 4:13 PM, Jan Dubois wrote: > > An alternative is to crawl the registry for all registered type libraries. > That at least gives you all the methods and properties, but I don't think > you can get the ProgID that way. There is a sample script that does this > though: > > http://cpansearc

RE: Known issues with Win32::OLE?

2012-08-23 Thread Brian Raven
> -Original Message- > From: activeperl-boun...@listserv.activestate.com [mailto:activeperl- > boun...@listserv.activestate.com] On Behalf Of Philip Prindeville > Sent: 22 August 2012 22:52 > To: ActivePerl@listserv.ActiveState.com > Subject: Known issues with Win32::OLE? > > I was original

RE: Known issues with Win32::OLE?

2012-08-22 Thread Jan Dubois
On Wed, 22 Aug 2012, Jan Dubois wrote: > I believe the OLE Browser is still installed, but you have to open up > your IE setting to a pretty vulnerable state in order to run it, so I > would recommend using it unless you have absolutely no other way to That should have been "would *not* recommend"

RE: Known issues with Win32::OLE?

2012-08-22 Thread Jan Dubois
On Wed, 22 Aug 2012, Francisco Zarabozo wrote: > On Wed, 22 Aug 2012, Jan Dubois wrote: > > There is no way to do this. You could crawl the registry, > > instantiate all registered COM objects, and do a QueryInterface for > > the IDispatch interface. This doesn't do you much good though, as > > you

Re: Known issues with Win32::OLE?

2012-08-22 Thread Francisco Zarabozo
-Mensaje original- From: Jan Dubois Sent: Wednesday, August 22, 2012 5:13 PM > There is no way to do this. You could crawl the registry, instantiate all > registered COM objects, and do a QueryInterface for the IDispatch > interface. > This doesn't do you much good though, as you still

RE: Known issues with Win32::OLE?

2012-08-22 Thread Jan Dubois
On Wed, 22 Aug 2012, Philip Prindeville wrote: > I was originally going to check the list archives before posting, but > I get a 403 from pipermail on the website, so can't do that. > > I'm running ActiveState perl (community version) on Win7-x64 updated, > and wrote the following simple/stupid tes

Re: Known issues with Win32::OLE?

2012-08-22 Thread Francisco Zarabozo
Is your Perl x64 too? I had problems with Win32::OLE some time ago because I was trying to use COM objects on a Win7 x64 using Perl x86. Later I had problems with Perl x64 trying to access COM objects registered as 32 bit. Perl only sees registered COM objects acordingly - if Perl is x86, then

RE: How to installation the latest CRAN modules?

2012-08-16 Thread Jan Dubois
ository that is in sync with CRAN so that I can get ppm > upgrade to the latest version? Thanks! You need to have a little patience; the module was just updated yesterday. Normally it takes less than 24 hours for new builds to appear on PPM, but right now we are telling the build machines to

Re: How to installation the latest CRAN modules?

2012-08-16 Thread Leo Susanto
5.16 is relatively new so trouchelle & bribes are not up to date yet. for all list: http://win32.perl.org/wiki/index.php?title=PPM_Repositories or you can install it yourself by doing this: 1. ppm install mingw (or ppm install mingw64 on 64 bit system) 2. cpan Regexp::Grammars (on my system it on

RE: Testing Success of Opening Pipe in Windows

2012-08-13 Thread Edwards, Mark (CXO)
;); die "Pipe didn't open or it returned nothing" if (eof(PIPE)); -Original Message- From: $Bill Luebkert [mailto:dbec...@roadrunner.com] Sent: Sunday, August 12, 2012 6:35 PM To: Edwards, Mark (CXO) Cc: activeperl@listserv.activestate.com Subject: Re: Testing Success of Ope

RE: Testing Success of Opening Pipe in Windows

2012-08-13 Thread Brian Raven
From: activeperl-boun...@listserv.activestate.com [mailto:activeperl-boun...@listserv.activestate.com] On Behalf Of Edwards, Mark (CXO) Sent: 12 August 2012 21:49 To: activeperl@listserv.activestate.com Subject: Testing Success of Opening Pipe in Windows > The typical test for open is ... > > op

Re: Testing Success of Opening Pipe in Windows

2012-08-12 Thread $Bill Luebkert
On 8/12/2012 13:48, Edwards, Mark (CXO) wrote: > The typical test for open is ... > > open(HANDLE, "something _/to/_open") or die "Open failed, $!"; > > That works on Windows for a file but not a pipe. > > $status=open(PIPE, "hostname |"); > > This works and I can read from the pipe but $status is

Re: Testing Success of Opening Pipe in Windows

2012-08-12 Thread Lyle
Although your advice is probably sound (I haven't checked). I don't think that posting a link to an illegal copy of Programming Perl is fair on the authors, publisher, or the readers of this list. Lyle On 12/08/2012 22:11, Tim Bolshaw wrote: Chapter 16.3 of /Programming Perl/ has a good basic

Re: Testing Success of Opening Pipe in Windows

2012-08-12 Thread Tim Bolshaw
Chapter 16.3 of *Programming Perl* has a good basic explanation of how to use pipes in Perl. (It is available online at http://docstore.mik.ua/orelly/perl2/prog/ch16_03.htm if you do not yet have a copy.) However, if you are doing extensive and complex processing that relies on pipes, you will ma

RE: :mysql for Perl 5.16

2012-08-07 Thread Jan Dubois
On Wed, 01 Aug 2012, Francisco Zarabozo wrote: > > To whom may concern (@ActiveState): Note that sending email to one of the mailing lists is a rather unreliable way to send a message to ActiveState. You should at least CC supp...@activestate.com to make sure the message is actually being read a

Re: inline test data

2012-05-02 Thread Phillip Richcreek
Thanks to all for the helpful AND excellent information. (Sorry for 1st post with dumb subject line) Phil ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Inline test data

2012-05-02 Thread Phillip Richcreek
Thanks to all for the excellent information. Phil On Wed, May 2, 2012 at 2:41 PM, $Bill Luebkert wrote: > On 05/02/2012 06:56, Phillip Richcreek wrote: >> >> A recent post used a nice feature for providing test data to a script. >> (See __DATA__ below) I've seen it before but never understood it

Re: Inline test data

2012-05-02 Thread $Bill Luebkert
On 05/02/2012 06:56, Phillip Richcreek wrote: > A recent post used a nice feature for providing test data to a script. > (See __DATA__ below) I've seen it before but never understood it. How > does it work? What signals the end of the data to the while (my $line > =) { ? Is this a type of here doc

Re: Inline test data

2012-05-02 Thread $Bill Luebkert
On 05/02/2012 10:44, Rothenmaier, Deane wrote: > This raises an interesting (well, to me, anyway) question: if a program's > pulling data from a __DATA__ section, will it quit reading when it gets to an > __END__ tag? Or will it run right over it? > > Another thought: if you put a __DATA__after

RE: Inline test data

2012-05-02 Thread Rothenmaier, Deane
activeperl-boun...@listserv.activestate.com [mailto:activeperl-boun...@listserv.activestate.com] On Behalf Of Brian Raven Sent: Wednesday, May 02, 2012 12:38 PM To: activeperl@listserv.activestate.com Subject: RE: Inline test data > From: activeperl-boun...@listserv.activestate.com [mailto:a

RE: Inline test data

2012-05-02 Thread Brian Raven
> From: activeperl-boun...@listserv.activestate.com [mailto:activeperl- > boun...@listserv.activestate.com] On Behalf Of Phillip Richcreek > Sent: 02 May 2012 14:56 > To: activeperl@listserv.activestate.com > Subject: Inline test data > > A recent post used a nice feature for providing test data t

RE: Inline test data

2012-05-02 Thread Henry Hartley
perldoc SelfLoader -- Henry -Original Message- From: Phillip Richcreek Sent: Wednesday, May 02, 2012 12:53 PM I don't have the camel book and could not find an online version. I also don't see anything in the doc that ships with the perl installation. But I did find this at http://perl

Re: help regex replacement

2012-05-02 Thread zilore mumba
Brian, Thank you very much. Your code is very concise and does exactly what I want. Regards Zilore From: Brian Raven To: "activeperl@listserv.ActiveState.com" Sent: Wednesday, May 2, 2012 11:39 AM Subject: RE: help regex replacement Sorry t

Re: Inline test data

2012-05-02 Thread Phillip Richcreek
I don't have the camel book and could not find an online version. I also don't see anything in the doc that ships with the perl installation. But I did find this at http://perldoc.perl.org/SelfLoader.html#The-__DATA__-token and it helps: "The __DATA__ token tells the perl compiler that the perl co

RE: Inline test data

2012-05-02 Thread Rothenmaier, Deane
See p. 68 of the third edition of the Camel book... "The __DATA__ token functions similarly to the __END__ token, but opens the DATA filehandle within the current package's namespace, so that files you require can each have their own DATA filehandles open simultaneously. For more information, s

RE: help regex replacement

2012-05-02 Thread Brian Raven
00:00', '2012-05-01_00:00:00', Last line HTH -- Brian Raven From: activeperl-boun...@listserv.activestate.com [mailto:activeperl-boun...@listserv.activestate.com] On Behalf Of zilore mumba Sent: 01 May 2012 08:22 To: zilore mumba; $Bill Luebkert Cc: activeperl@listserv.ActiveSta

Re: help regex replacement

2012-05-01 Thread zilore mumba
onth}-${eday}_00:00:00',\n"; * print scalar(); * print scalar(); * print OUT scalar() for 6..37; *   close IN; *   close OUT; ** From: zilore mumba To: zilore mumba ; $Bill Luebkert Cc: "activeperl@listserv.

Re: help regex replacement

2012-04-30 Thread zilore mumba
0:00',$/ I hope this is possible. Zilore From: zilore mumba To: $Bill Luebkert Cc: "activeperl@listserv.ActiveState.com" Sent: Tuesday, May 1, 2012 5:31 AM Subject: Re: help regex replacement Thanks very much Bill, and also for the as

Re: help regex replacement

2012-04-30 Thread zilore mumba
e.com" Sent: Tuesday, May 1, 2012 12:02 AM Subject: Re: help regex replacement On 04/30/2012 14:28, zilore mumba wrote: > sample input > start_date = > '2012-04-29_00:00:00','2012-04-29_00:00:00','2012-04-29_00:00:00', > end_date = '2012-0

Re: help regex replacement

2012-04-30 Thread $Bill Luebkert
On 04/30/2012 14:28, zilore mumba wrote: > sample input > start_date = > '2012-04-29_00:00:00','2012-04-29_00:00:00','2012-04-29_00:00:00', > end_date = '2012-05-01_00:00:00','2012-05-01_00:00:00','2012-05-01_00:00:00', > > The model would have run on 29th May, to produce a 48hour forecast to 1sr

Re: help regex replacement

2012-04-30 Thread Michael Ludwig
zilore mumba schrieb am 30.04.2012 um 14:28 (-0700): > sample input > > start_date = > '2012-04-29_00:00:00','2012-04-29_00:00:00','2012-04-29_00:00:00', >  end_date   = > '2012-05-01_00:00:00','2012-05-01_00:00:00','2012-05-01_00:00:00', > > The model would have run on 29th May,  to produce a

Re: help regex replacement

2012-04-30 Thread zilore mumba
From: zilore mumba To: "Thurn, Martin (TASC)" Sent: Monday, April 30, 2012 10:29 PM Subject: Re: help regex replacement My mail should have readsample input start_date = '2012-04-29_00:00:00', '2012-04-29_00:00:00', '2012-04-29_00:00:00'

  1   2   3   4   5   6   7   8   9   10   >