Re: use case for activeState

2009-06-22 Thread Foo JH
Pipirilo wrote: > I've been working with MS .NET for desktop and web applications for quite a > while, and it doesn't fit my expectations. I've used ORACLE long time ago, > and that is a very good tool, I miss it. I would think Visual Studio is a reasonable platform for Windows Forms development.

Re: ActivePerl -x64, and another problem with mixing compilers.

2009-05-27 Thread Foo JH
Jan Dubois wrote: > It is normal if you are running Vista or 2008 Server, in which case > this tree contains every single file of the OS (including the > components that have not been "installed"). All other "installed" files > are really just NTFS hardlinks into this tree. omg. Thanks for the r

Re: ActivePerl -x64, and another problem with mixing compilers.

2009-05-26 Thread Foo JH
> Running the *appropriate* vcredist_x64.exe fixes the problem. (The > appropriate one being the one for VC++ 2008, not the one for VC++ 2005.) Does this mean that if there is an existing app which ref the VC2005 dll, there will be a collision problem?

Re: Reading hash arrays in the order it was written

2008-11-19 Thread Foo JH
Fish, David wrote: > Hello! The problem I am having is I am pulling data from a table in a > certain order and loading it into the hash array but when I read the > hash array it comes out in a different order than it is written. What I > have done as a work around, is the read the data from a fi

Re: win32 service application (like google desktop)

2008-04-02 Thread Foo JH
Yup, you're still looking at PDK's PerlSvc packager. It's all there buddy. Edward Peschko wrote: > > great.. you are right, that's exactly what I'm looking for.. > > Now suppose that I want to install a standalone executable such that > it is integrated into the start menu, and also runs as part

Re: Newbie Question

2008-04-02 Thread Foo JH
I'm sorry to fumble around the old question: wouldn't sending a filename as a parameter be a more scalable solution, as opposed to squeezing in stuff through command line? If this function is to happen regularly (or concurrently for the matter), you can create a temporary file as the file refer

Re: Newbie Question

2008-04-01 Thread Foo JH
You're trying to put in 900 arguments into the command line? Aren't you better off passing the filename into the command line? Karl Anderson wrote: > Thank you in advance > > I am attempting to write a perl script to manipulate about 900 words > of text in scite. > I am passing the text to perl

Re: difficult multi-threading debugging scenario

2008-03-19 Thread Foo JH
Some questions to ask: 1. Is it more stable in a 32-bit environment? 2. Does a 'lite' version (no actual work, but threads are scheduled and run) of your MT framework throw out the same problem? 3. Have you thrown in eval() at critical points to capture exceptions? Bear in mind eval in threads wo

Where's the next 2 script games commentries?

2008-02-21 Thread Foo JH
Looking forward to them... ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Who's got the guru beard?

2008-02-21 Thread Foo JH
Ok now we know Jan is a 'deviant'. It's piqued my interest, so I looked up Randy as well At least one of us has the beard... Jan Dubois wrote: And yes, no facial hair... Back in the days (December 1999) I was the only developer at ActiveState without some kind of guru-beard (remember, I'm

Re: My first 2 Scripting Games commentaries are online now

2008-02-20 Thread Foo JH
er wrote: > Ooo there's a picture up there? I'm not going to go there now because I > think it's better for his appearence to remain a mystery. :P > > At 09:37 AM 2/21/2008 +0800, Foo JH wrote: > >> Hey Jan, now I

Re: My first 2 Scripting Games commentaries are online now

2008-02-20 Thread Foo JH
One thing I like about Perl is that you don't have to use the forward-slash '\' just because you're writing for the Windows platform. Jan Dubois wrote: > Feel free to check them out, even if you are not taking part in > the Games, and let me know what you think: > > > http://www.microsoft.com/

Re: My first 2 Scripting Games commentaries are online now

2008-02-20 Thread Foo JH
Hey Jan, now I know how you look...no guru-beard? I'm disappointed. Jan Dubois wrote: > Feel free to check them out, even if you are not taking part in > the Games, and let me know what you think: > > > http://www.microsoft.com/technet/scriptcenter/funzone/games/games08/experts.mspx > > I have

Re: 2008 Winter Scripting Games have begun

2008-02-19 Thread Foo JH
rl. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Angelos Karageorgiou > Sent: Monday, February 18, 2008 5:10 AM > To: Foo JH > Cc: Jan Dubois; [EMAIL PROTECTED]; > perl-win32-users@listserv.ActiveState.com > Subjec

Re: using overload

2008-02-18 Thread Foo JH
Thanks Rob, once again; it's all my fault... Sisyphus wrote: > > - Original Message ----- From: "Foo JH" <[EMAIL PROTECTED]> > . > . >> The problem with the code lies in line 25. Error is: >> Operation """": no method

Re: using overload

2008-02-18 Thread Foo JH
Hey Rob, Yes - I've had reasonable success with 'use overload'. The particular error you've quoted doesn't ring any bells for me, so it's probably best if you can provide some (minimal) code that causes the error. Attached is my simple test program. Maybe I read the tutorial the wrong way, bu

Re: 2008 Winter Scripting Games have begun

2008-02-18 Thread Foo JH
> > I took a quick look at powershell and it turned my stomach. maybe I am > an old dog unable to learn new tricks like python and such, but > powershell I really did not like, maybe given enough time... In the same way that given enough time we will all learn to enjoy the security and peace of

Re: 2008 Winter Scripting Games have begun

2008-02-17 Thread Foo JH
I guess they're trying to get some inspiration from the Perl libraries/ syntax for their next-gen scripting language? P#? PowerPerl? Jan Dubois wrote: > Microsoft is running the 3rd annual Scripting Games competition, and > this year they added a Perl division alongside VBScript and Windows > Po

using overload

2008-02-15 Thread Foo JH
Hi all, Just want to check with the community if anyone has success using 'use overload' in their packages? I keep getting this error on my Perl5.8.8 build 820: Operation : no method found, argument in overloaded package MyClass at test.pl line 8. thanks ___

Re: UWinnipeg 5.10 ppm repository

2007-12-23 Thread Foo JH
Thanks for the effort Randy. Much appreciated. Merry Christmas! Randy Kobes wrote: > I've started a ppm repository for ActivePerl 10xx ppm > packages, based on perl-5.10, at >http://cpan.uwinnipeg.ca/PPMPackages/10xx/ > This is mainly intended for those (relatively few) CPAN > distributions t

Re: Happy 20th Birthday, Perl!

2007-12-18 Thread Foo JH
Sheng Ri Kuai Le Perl! Howard Maher wrote: > I don't know about you all, but I think that we all should take a moment to > celebrate Perl's 20th birthday today... > > It just seems so not long ago, December 18th, 1987... a tiny little one was > born of man but had an existence so ethereal and

Re: ActivePerl 5.10 Build 1000 Beta release

2007-11-25 Thread Foo JH
Wow, this is exactly what I've been waiting for this whole year! Now if the final release will only come out before Christmas...hee hee Jan Dubois wrote: > ActiveState is pleased to announce ActivePerl 5.10.0 Build 1000 Beta, > a beta release of the complete, ready-to-install Perl distribution fo

Re: Windows PowerShell and .pl association

2007-09-23 Thread Foo JH
IIRC the spacing issue is a standard problem for all programs. If any program (.Net, Java) path has a space, it also has to be quoted. Suresh Govindachar wrote: > Glenn asked: > >> > >> (They have taken the pleasant activity of working at a console and > >> made it miserable drudgery. In

Re: Any hint when 5.10 will be out?

2007-09-05 Thread Foo JH
iginal Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Jan Dubois >> Sent: Thursday, August 30, 2007 1:10 PM >> To: 'Foo JH'; perl-win32-users@listserv.ActiveState.com >> Subjec

Re: Any hint when 5.10 will be out?

2007-09-01 Thread Foo JH
Try this site: http://www.slideshare.net/acme/whats-new-in-perl-510 田口 浩 wrote: > Is 5.10 so atractive? > > Any documents describing new features easy to understand to me? > > Regards, > taguti > > > >> On Wed, 29 Aug 2007, Foo JH wrote: >> &g

Any hint when 5.10 will be out?

2007-08-29 Thread Foo JH
Just raising my hand that I'm eagerly awaiting the release of 5.10...what's the news? ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: reading the Network Interface Card(NIC) name

2007-08-27 Thread Foo JH
If you're doing this via Windows, you can go via WMI. Google: wmi win32_networkadapter Ankit Mehrotra wrote: > > Hi all, > > I want to read the names of the NIC's of a blade server. Is there any > ready made package through which I can read them ? > > Thanks > Ankit > =-=-=

Re: Dynamically referencing a package variable

2007-08-23 Thread Foo JH
> The way I read your post had the encapsulation bells ringing. > > Again, symbolic references offer a possible solution:- > > > > package Root; > $me = 'How much?'; > > package main; > use strict; > use warnings; > > my $package = 'Root'; > my $var_name = 'me'; > > # And ducking the rotten tomat

Re: Dynamically referencing a package variable

2007-08-23 Thread Foo JH
Thanks Justin, I'm quite familiar with OOP. It's class variables that I'm interested in setting, not instance variables. In Perl, this is implemented as package variables like $MyPackage::MyVariable. I could've done this: $__PACKAGE__::MyVariable, but as I said, the package name is not determi

Dynamically referencing a package variable

2007-08-23 Thread Foo JH
Hi all, Please bear with me while I try to explain my problem... I'd like to figure out how to access package variables at runtime. In other words, I may have a variable $class that contains the classname, and I want to set a value to the package reference by this variable. It'll be something

[SPAM?] Re: ActiveState releases ActivePerl 5.8.8.822

2007-08-03 Thread Foo JH
Hundreds of...I hope it's more updates than bug fixes...:P Btw, http://www.activestate.com/products/activeperl/ does not seem to render well on FireFox. It used to very well though. Jan Dubois wrote: > ActiveState is pleased to announce ActivePerl 5.8.8.822, a maintenance > release of the comple

Re: ActiveState releases ActivePerl 5.8.8.822

2007-08-02 Thread Foo JH
Hundreds of...I hope it's more updates than bug fixes...:P Btw, http://www.activestate.com/products/activeperl/ does not seem to render well on FireFox. It used to very well though. Jan Dubois wrote: > ActiveState is pleased to announce ActivePerl 5.8.8.822, a maintenance > release of the comple

Re: Extract schedukes from Exchange

2007-06-20 Thread Foo JH
This happens if you: 1. Are still using Outlook objects (which with Redemption you don't need to) 2. Are not in the same domain as Exchange (which you should be) 田口 浩 wrote: > I tried Redemption bofore, but then I could't skip password popup. > > >> -Original Message- >> Sent: Monday,

Re: Extract schedukes from Exchange

2007-06-20 Thread Foo JH
Taguchi san, Try using Outlook Redemption. It seems to work for me. There's a command for you to access another's schedule (provided that user shares the schedule). The author Dmitry is very supportive. ?? ? wrote: > Someone have experiences to get another's schedule on Exchange server? > > W

Re: Using Win32::OLE to Query Exchange Remotely

2007-05-29 Thread Foo JH
Thanks for sharing your work on Exhange (Win32::Exchange) with the community Steven. ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: problem with printing messages to the screen

2007-05-20 Thread Foo JH
You can turn off buffering: $|=1; jagdish eashwar wrote: > Hi, > > I have written a script which accesses each file in a directory and > processes them in turn. While it is doing so, I want it to put out > status message like: > > "Processing $filename, please wait.." > > And then when the s

Re: Win32::OLE - ? encoding of returned strings

2007-04-29 Thread Foo JH
Thanks Jan, your recent tip on converting Win32::OLE-passed strings as UTF8 saved me hours of blank looks. Specifically: Win32::OLE->Option(CP => Win32::OLE::CP_UTF8()); Have a great Labour Day! Mike Trotman wrote: > Thanks - that's very useful. > > And I had missed the Unicode mode in the Win3

Re: Compiling Perl

2007-03-21 Thread Foo JH
> The PDK costs money though. PAR (available free through the perl package > manager that comes with activestate perl) works on basically the same > concepts (and therefore works almost if not exactly as well), but the > documentation is worse and it's usability is worse (command line only, no

Re: Compiling Perl

2007-03-21 Thread Foo JH
> Perl Dev Kit from Activestate - GUI interface or command line, one > license = multiple platforms - works very well. > To clarify: is it really 1 licence = multiple platforms (Windows, Linux...)? ___ Perl-Win32-Users mailing list Perl-Win32-Users@l

Re: perl as a windows service

2007-03-11 Thread Foo JH
There are 2 ways to run Windows as a service: via PerlSvc (commercial packager), and via Win32::Daemon (http://www.roth.net/perl/Daemon/). See which one you like best. John Norris wrote: > Hi, > > in the FAQs at > http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/Windows/ActivePerl- > Win

Re: Name of IF style

2007-02-05 Thread Foo JH
David, Thanks also for the tip. Now I am doubly noob... > - UEdit column comment > select your code to comment > ALT+C (column edit) > type # and spaces as you like it > > ++ > David "Sniper" Rigaudiere > > > ___ > Perl-Win32-Users mailing list > Perl-W

Re: Name of IF style

2007-02-05 Thread Foo JH
uncomment) > - Enter > > You could also type "n" instead of the 3x arrow UP which is faster > offcourse but I got used to the above method.. > > TIMTOWTDI > > Huub Peters. > > - Original Message - From: "Foo JH" <[EMAIL PROTECTED]>

Re: Name of IF style

2007-02-05 Thread Foo JH
> There are other ways to block out code in Perl. Personally, I use > a vim macro and just comment out the block by marking the first line > (type ma [mark 'a' position]) and going to the last line and executing > the macro by hitting the key you have it bound to (I use #) > Lucky you. I am us

Re: Name of IF style

2007-02-04 Thread Foo JH
Taguchi san, I like the coding style below for one main reason: it's easy to comment out if needed. IMHO good coding style should support the following: 1. Easy to read. Puristic styles are a matter of opinion. I prefer to maintain a hybrid concept between K&R, BSD, and none-of-the-above; choo

Re: checking for infinite loops

2007-01-28 Thread Foo JH
I wonder if it's possible to kill a thread in the Win32 implementation of Perl? Chris Wagner wrote: > I would start by executing the sub program in a seperate thread. That way > the main thread can keep an eye on it and decide if it's run too long and > then do something about it. Another way t

Re: Inspecting a COM object

2007-01-14 Thread Foo JH
Sexy! Thanks Mark and Jan. mark pryor wrote: > --- Jan Dubois <[EMAIL PROTECTED]> wrote: > > >> On Wed, 10 Jan 2007 09:36:23 +0800, Foo JH >> <[EMAIL PROTECTED]> >> wrote: >> >> >>> I was wondering if there is any API that let

Inspecting a COM object

2007-01-09 Thread Foo JH
Hi all, I was wondering if there is any API that lets me inspect a COM object in Perl. By this I mean list out the functions, classes, stuff like that. I see this happening with the OLE browser that comes with the ActivePerl HTML manual. Is that written in Perl? ___

Re: Webservice Call using Win32::OLE

2006-12-13 Thread Foo JH
I can't give you a direct answer, but maybe you'd like to try SOAP::Lite instead. It's cross-platform (may not be relavant), and it has worked on both Java and C# web services. Briggs, Larry wrote: > Hi I am trying to convert the following VB script webservice call into perl > I am trying to us

Re: Print MS Word Docs?

2006-11-21 Thread Foo JH
Wow. It's that simple? Thanks for sharing. Ken Cornetet wrote: > sub PrintWord { > > my $file = shift; > > my $word = Win32::OLE->new('Word.Application'); > $word->{Visible} = 0; > my $doc = $word->Documents->Open($file); > $doc->PrintOut(0); > undef $doc; >

Re: time manipulation

2006-11-05 Thread Foo JH
You can try converting $a and $b into secs, and do the math from there. Then convert back to a string format again. Alejandro Santillan wrote: > I would like to know if there exists some module that is able con add and > substract times. > > For example, I want to see the time in seconds between

Re: Perl in the Funnies

2006-09-19 Thread Foo JH
Yeah baby! Saw it yesterday! Perl is mentioned alongside AJAX! Perl is SEXY! Jerry Kassebaum wrote: > Perl made it into the comics today! Check out Foxtrot. > > > ___ > Perl-Win32-Users mailing list > Perl-Win32-Users@listserv.ActiveState.com > To unsu

Re: Up-to-date Alternatives to Tiny Perl? (Was: PERL on a CD)

2006-07-28 Thread Foo JH
This is encouraging. Do you know if the free version of the MS compiler will work as well? Sisyphus wrote: > - Original Message - > From: "Veli-Pekka Tätilä" > . > . > >> How difficult would it be to compile my own Perl using VC6 and include the >> modules, too? I've only been install

Re: PERL on a CD

2006-07-28 Thread Foo JH
The only downside to running (Active)Perl from a CD, is that ppm does not seem to work. Something about paths being wrong and stuff. Appreciate any solutions to this matter. Timothy Johnson wrote: > The only disadvantage to running Perl from a CD is that the file > associations would not be ther