發 票

2016-12-09 Thread 2016-12-09 16:41:37
2016-12-09 16:41:37 2016/12/9

Re: C#, Perl and COM objects (PerlNET / Win32::OLE)

2015-10-28 Thread Andy Grundman
Hi Miriam, I wish I could be more helpful, but unfortunately most of the PerlNET expertise here at ActiveState was with my predecessor, and I am still coming up to speed on it. You are probably already aware of it, but I would point you at this old book on PerlNET that may be of some help:

AW: C#, Perl and COM objects (PerlNET / Win32::OLE)

2015-10-28 Thread Miriam Heinz
> Rob (2015-10-23, sisyph...@optusnet.com.au): > This is a very inactive list, and you may well get no helpful response to > your request. thank you for the information regarding this mailing list. I thought I'd start here, as this seems to be a problem closely related to the inner workings

Re: C#, Perl and COM objects (PerlNET / Win32::OLE)

2015-10-23 Thread sisyphus1
From: Miriam Heinz Sent: Friday, October 23, 2015 8:51 AM To: perl-win32-users@listserv.ActiveState.com Subject: C#, Perl and COM objects (PerlNET / Win32::OLE) > I would greatly appreciate any help - or advise on where to look further. Hi Miriam, This is a very inactive list, and you may well

RE: C#, Perl and COM objects (PerlNET / Win32::OLE)

2015-10-23 Thread Jason Kirkwood
You can hear crickets around here for a while now, but I learned so much from the Q on here that I hang around. To that end, if you do post the question elsewhere would you post a link to your post back here. I would like to read the resolution. Thanks,Jason > From: sisyph...@optusnet.com.au

C#, Perl and COM objects (PerlNET / Win32::OLE)

2015-10-22 Thread Miriam Heinz
Hello! I'm trying to pass a COM object from C# code to perl. At the moment I'm wrapping my perl code with PerlNET and I have defined a simple subroutine to pass objects from C# to the wrapped perl module. It seems that the objects I pass are not recognized as COM objects. An example:

slow stop of a win32 service via perlsvc

2015-08-19 Thread Stefan Parvu
I have developed several win32 services: https://github.com/kronometrix/recording/tree/master/bin/windows I have seen on some systems takes considerable amount of time to stop and uninstall the services, via command line or using sc. For example: sysrec -remove will sometimes take even 5

win32 interval timers question

2015-05-14 Thread Stefan Parvu
Hi, Im porting some data recorders from UNIX/LInux to Win32 platform: https://github.com/kronometrix/recording/blob/master/bin/freebsd/cpurec Basically Im trying to replicate something like this in Win32, and I have no idea how I can do that: use Time::HiRes qw(time alarm setitimer

RE: PDF to Text

2015-04-28 Thread Phil Brewer
Hi A quick thank you to Greg and Leo for their suggestions. In the end we found that calling the pdftotext utility (available for most installations - Poppler Utilities) worked perfectly for us - and may help others looking to do the same thing. Phil Brewer From: Phil Brewer

PDF to Text

2015-04-19 Thread Phil Brewer
Hi Does anyone have any advise on converting a PDF to text, please (the data I want to read is tabular)? I have used PDF::API2 to create PDFs before but it does not seem to be able to read/parse them. I have also tried CAM::PDF but cannot get the examples on the CPAN page to work without

Re: PDF to Text

2015-04-19 Thread Suresh Govindachar
On 4/19/2015 3:34 PM, Phil Brewer wrote: Hi Does anyone have any advise on converting a PDF to text, please (the data I want to read is tabular)? I have used PDF::API2 to create PDFs before but it does not seem to be able to read/parse them. I have also tried CAM::PDF but cannot get the

Re: PDF to Text

2015-04-19 Thread Leo Susanto
If that is the case, usually the pdf file is only an encapsulation of an image file. Then you need OCR. On Mon, Apr 20, 2015 at 5:34 AM, Phil Brewer pbre...@sky.com wrote: Hi Does anyone have any advise on converting a PDF to text, please (the data I want to read is tabular)? I have

Hey friend

2015-04-17 Thread arvinporthog
http://mensolutionmax.com/blog/ ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Where to find some XML modules

2015-04-17 Thread Effa, David J
Can someone tell me how to get these modules: XML::LibXML; XML::LibXML::XPathContext; They seem not to be an option using PPM. Perl 5, version 20, subversion 2 (v5.20.2) built for MSWin32-x86-multi-thread-64int Many thanks. -Dave ___

Re: PAR failure

2014-11-15 Thread John
Hi Rob Thanks for responding On 15/11/2014 2:21 AM, sisyph...@optusnet.com.au wrote: -Original Message- From: John Sent: Thursday, November 13, 2014 1:25 PM To: pw32-users Subject: PAR failure Attempt to reload Config.pm aborted. I've not struck this error before. If you google

Re: PAR failure

2014-11-14 Thread sisyphus1
-Original Message- From: John Sent: Thursday, November 13, 2014 1:25 PM To: pw32-users Subject: PAR failure Attempt to reload Config.pm aborted. I've not struck this error before. If you google that error message you'll get a few hits. Do any of them help you at all ? Is your

PAR failure

2014-11-12 Thread John
Hi Recently updated a bunch of modules via PPM for my current version of ActiveState Perl on Win XP: --- Thu 12:04 perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32- x86-multi-thread (with 1 registered patch, see perl -V for more detail)

RE: SFTP

2014-10-28 Thread Hoopes, William @ CSG - CSE
On Windows, I am using use Net::SFTP::Foreign. Sample code: my $local_filesize = -s $ARCHIVEDIR.\\.$localfilename; my $sftp = Net::SFTP::Foreign-new($sftp_server,user=$sftp_userid, password=$sftp_passwd, ssh_cmd =$sftp_path) or die \nCould not connect to the

SFTP

2014-10-27 Thread Schwartz, Peter W
I'm trying to locate an SFTP install for Windows (32-bit) but I can't seem to find anything in the PPM for some reason. Does anyone have any recommendations on how to get this for Windows? Peter W Schwartz | Vice President | IB Tech Market | Investment Bank |

RE: SFTP

2014-10-27 Thread Ashley Hoff
Not sure if you are going to get much more of a response Peter - this mail list seems pretty dead. As far as I know, it's not an easy task to actually get SFTP client functionality in Perl. I've had plenty of issues over the years, that I gave up trying to find a Perl module that will do what

Re: SFTP

2014-10-27 Thread Mike Malony
I had much the same experience. I've used both PSFTP.exe from Putty and sftp.exe from Cygwin. In both cases I write a batch file and execute the exe via a system call. $RUNSTRING = $main::sftpbin -b $SFTP_BATCH_FILE $SFTPLOGIN $TEMPLOG; ## which translates to ##'c:\cygwin\bin\sftp -b

RE: SFTP

2014-10-27 Thread Schwartz, Peter W
That’s fine. I was looking for a tidy Perl module, but this will work too. Thanks folks. Peter W Schwartz | Vice President | IB Tech Market | Investment Bank | J.P. Morgan | Floor 4, 115 S Jefferson Road, Bldg D, Whippany, NJ | T: +1(973) 793-7407 |

RE: SFTP

2014-10-27 Thread Ashley Hoff
That is pretty much the approach I have taken as well. In my instance, the batch is written dynamically, based on the required process (read from an INI file) and the files found either remotely or locally (based on wildcard searches). The command that we call looks like: $command = echo

Re: SFTP

2014-10-27 Thread Justin Allegakoen
Off on another tangent, but it seems not much has changed over the years: http://code.activestate.com/lists/perl-win32-users/31633/ Math::Pari fails to install with strawberry with 5.20 on x64 - never had the time to find out why. I'm sure if you ask sisyphus nicely he'll try and put it up on

Re: SFTP

2014-10-27 Thread sisyphus1
From: Schwartz, Peter W Sent: Tuesday, October 28, 2014 2:44 AM To: perl-win32-users@listserv.ActiveState.com Subject: SFTP I’m trying to locate an SFTP install for Windows (32-bit) but I can’t seem to find anything in the PPM for some reason. Does anyone have any recommendations on how to

Re: why does perl critic not like @_

2014-08-21 Thread Gabor Szabo
I've never seen people using @_ as some kind of a temporary variable and I think this practice should be discouraged. Probably Perl::Critic should have a policy finding and reporting such cases as this is just confusing. @_ is a special variable to receive function parameters. Gabor

Re: why does perl critic not like @_

2014-08-19 Thread anthony . okusanya
Perl critic is simply trying to ensure that you code follows Perl Best Bractices I use perltidy and perlcritic on all my perl code to keep it need and readable. to your question though according to Damian Conway's book (perl best practices) which is what perlcritic uses by default as a guide,

Re: why does perl critic not like @_

2014-08-19 Thread Robert W Weaver
John wrote: I have just started using perl critic to analyse my code. I have often used @_ as a temporary array like this: [..] Critic complains with 'Always unpack @_ first', why? What is so wrong with this usage? anthony.okusa...@usbank.com gave an excellent response to what perl critic

Request for more functionality in Math::BigFloat

2014-07-01 Thread Geoff Horsnell
Has anyone extended the Math::BigFloat package to include such niceties as the INT function, or remaindering? I need to be able to do some large calculations and those two functions would be very useful additions to the Math::BigFloat package Many thanks Geoff

Re: Request for more functionality in Math::BigFloat

2014-07-01 Thread Sisyphus
- Original Message - From: Geoff Horsnell ge...@horsnell.freeserve.co.uk To: perl-win32-users@listserv.activestate.com Sent: Wednesday, July 02, 2014 12:34 AM Subject: Request for more functionality in Math::BigFloat Has anyone extended the Math::BigFloat package to include such

RE: Request for more functionality in Math::BigFloat

2014-07-01 Thread Geoff Horsnell
Many thanks, Sisyphus. I didn't think to look at and use the Math::BigInt package in conjunction with Math::BigFloat. Cheers Geoff -Original Message- From: Sisyphus [mailto:sisyph...@optusnet.com.au] Sent: 02 July 2014 02:53 To: Geoff Horsnell; perl-win32-users@listserv.activestate.com

Fwd: Re: Q: looking for some AutoIT functionality in Perl

2014-05-31 Thread John
Resending in case it might be useful, sorry it bounced last time. Original Message Subject: Re: Q: looking for some AutoIT functionality in Perl Date: Tue, 13 May 2014 13:43:06 +1000 From: John McMahon j...@jspect.fastmail.fm Reply-To: j...@jspect.fastmail.com.au To:

Q: perl's equivalent to some AutoIT's functions

2014-05-13 Thread Daniel Burgaud
Hi I have been doing some AutoIT scripting these few days and find it, great. However, I prefer to program on my native tongue. Here are some questions that I need out of perl that I am doing with Autoit. Is there a Perl equivalent to: AutoIt's PixelGetColor AutoIt's PixelSearch and a DLL call

Re: trouble doing regex in file containing both ascii and binary content

2014-02-15 Thread sisyphus1
Hi Greg, This list is all but dead – it may be that you and me are the only people receiving mail from it. Much better, IMO, to post these types of questions to perlmonks. Anyway ... this might help: # use strict; use warnings; my $str = \x1F\x8B\x08; print

Re: trouble doing regex in file containing both ascii and binary content

2014-02-15 Thread Richie
I haven't had time to test my theory so I didn't respond. Since he had said text and binary my thoughts where that the regex would not match past the first linefeed and would need to be updated accordingly. On 2/15/2014 6:33 AM, sisyph...@optusnet.com.au wrote: Hi Greg, This list is all but

trouble doing regex in file containing both ascii and binary content

2014-02-14 Thread Greg VisionInfosoft
i cant figure out what im doing wrong here. i ran wireshark to monitor a small http client/server query/response. point of exercise is to see exactly what an ajax response looks like (as im trying to learn ajax). unfortunately, the ajax response is sent from server in 'gzip' format (not plain

[no subject]

2013-12-04 Thread rosa maria palacios juncosa
___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

constant contact / net::oauth2

2013-09-17 Thread Paul Rogers
Has anyone managed to get the Email::ConstantContact module working with Net::OAuth2? It seems that oauth2 support, now required for CC, was never added to the module. Cheers, Paul --- ___ Perl-Win32-Users mailing list

RE: help dbd-anydata / dbi-dbd-sqlengine issue

2013-05-20 Thread Brian Raven
-Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl- win32-users-boun...@listserv.activestate.com] On Behalf Of John Sent: 19 May 2013 05:04 To: pw32-users Subject: help dbd-anydata / dbi-dbd-sqlengine issue Hi Several years ago I dabbled with

help dbd-anydata / dbi-dbd-sqlengine issue

2013-05-18 Thread John
Hi Several years ago I dabbled with DBD::AnyData to read and merge a variety of csv data files. Recently I updated my DBI module to version 1.625 (and yesterday to 1.627). Since updating DBI my program has failed with an error message similar to that below (I have included a test script below

RE: TK Listbox problem; need help

2013-05-08 Thread Ken Slater
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: Wednesday, May 08, 2013 12:11 AM To: Perl-Win32-Users Subject: TK Listbox problem; need help Hi, Below is the script I have. 1. Listbox is

TK Listbox problem; need help

2013-05-07 Thread Daniel Burgaud
Hi, Below is the script I have. 1. Listbox is suppose to have 0-99 lines. working 2. when user clicks on a line, it will highlight the line. working 3. when user clicks on a particular line, script will display the value of that line to STDout. not working. What happens is, it prints the value

TK Notebooks on the side

2013-05-05 Thread Daniel Burgaud
Hi, I am trying to write a TK notebook script: use strict; use Tk; use Tk::NoteBook; my $mw = MainWindow-new(); my $nb = $mw-NoteBook()-pack(-expand = 1, -fill='both'); my $p1 = $nb-add('page1', -label= 'Page 1'); my $p2 = $nb-add('page2', -label= 'Page 2'); my $p3 = $nb-add('page3', -label=

Deleting/Removing TK objects

2013-05-02 Thread Daniel Burgaud
Hi, I would like to know how to remove/delete TK objects/widgets. For example: $frame{x} = $mw-Button( ..); $frame{y} = $mw-Entry(...); . . . How do I delete the Button? How do I delete Entry? Basically, I am writing an app; the mainwindow is filled with button menus. If I click on any

Audio::WAV on win 32

2013-04-18 Thread Spencer Chase
I am trying to read the raw data from a WAV file that I am using for storing data logger information. Using a test WAV file with nothing but silence, I do not get the expected all 0 results. I have tried different unpack formats but nothing seems to work any better. My test files are made in

RE: Win32::OLE Module - Excel chart Generation Problem

2013-04-17 Thread Steven Manross
While I don't have your exact setup, this script works fine in perl 5.8 (32-bit), Excel 2003 (32-bit) on Win Server 2003 (32-bit).. Yes, it's a dated config.. But it's running fine for now. As well, I ran this on Win7 (x64), Perl 5.8 (32-bit), Excel 2010 (32-bit). it worked fine again. (Which

Win32::OLE Module - Excel chart Generation Problem

2013-04-09 Thread ketan patel
Hello All, I am running following simple script on perl64 to generate chart on excel but I am getting following errors without generating any chart. It opens excel sheet, write data into sheet but no chart. Win32::OLE(0.1709) error 0x80020003: Member not found in PROPERTYPUT ChartType at

RE: confused by use of 'implied' variable

2013-04-08 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Greg VisionInfosoft Sent: 05 April 2013 21:16 To: Perl-Win32-Users@listserv.ActiveState.com Subject: confused by use of 'implied' variable im butchering a public

confused by use of 'implied' variable

2013-04-05 Thread Greg VisionInfosoft
im butchering a public script i found on the internet for purpose of doing a CGI file upload. theres one excerpt from the script that ive never used before. the few lines... while ( $upload_filehandle ) { print UPLOADFILE; } if it were me, i would not write code this way, i write in a way

Re: confused by use of 'implied' variable

2013-04-05 Thread will trillich
Greg -- The shortcuts us the perl variable $_. That is, when no specific argument is supplied, $_ is used by default. s/x/y/; while ( ) {...} print; All the above and more expect a value to work with, and if none is given, perl uses $_ by default. You get into trouble when you have a

ANNOUNCE: ActivePerl 5.14.4.1405 and 5.16.3.1603 released

2013-03-22 Thread Jan Dubois
ActiveState is pleased to announce the release of - ActivePerl 5.14.4 build 1405 - ActivePerl 5.16.3 build 1603 complete, ready-to-install binary distributions of Perl. Builds for Windows, Mac OS X and Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with

'moving' an activeperl install to a new machine (xp to windows 7)

2013-03-15 Thread Greg VisionInfosoft
hi all, ive got a wonderfully working activeperl 5.8.9 environment that was originall setup on Windows XP. so that i dont need to reinstall the many, many packages that ive ammased throughout the years - i had the thought to simply copy my entire 'perl' folder from the older windows xp pc to my

RE: 'moving' an activeperl install to a new machine (xp to windows 7)

2013-03-15 Thread Wagner, David --- Sr Programmer Analyst --- CFS
-Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32- users-boun...@listserv.activestate.com] On Behalf Of Greg VisionInfosoft Sent: Friday, March 15, 2013 14:12 To: Perl-Win32-Users@listserv.ActiveState.com Subject: 'moving' an activeperl install

Re: 'moving' an activeperl install to a new machine (xp to windows 7)

2013-03-15 Thread Jan Dubois
On Fri, Mar 15, 2013 at 1:12 PM, Greg VisionInfosoft gai...@visioninfosoft.com wrote: hi all, ive got a wonderfully working activeperl 5.8.9 environment that was originall setup on Windows XP. so that i dont need to reinstall the many, many packages that ive ammased throughout the years - i

RE: button with multiple font sizes

2013-03-13 Thread Brian Raven
Dan, Tk::Button only allows for text in a single font, as you have probably discovered. However, it does let you use an image. If you can render the text you want as an image (e.g. GD?), that that might be a way to go. HTH -- Brian Raven From:

TK: button with multiple font sizes

2013-03-12 Thread Daniel Burgaud
Hi I need a button with a big label and below it, description of the button. I dont know how to make a TK button with multiple font size. If not button, any TK object, clickable, and multiple font size capable. thanks Dan. ___ Perl-Win32-Users

Re: TK: button with multiple font sizes

2013-03-12 Thread Jack
On 12/03/2013 7:56 PM, Daniel Burgaud wrote: Hi I need a button with a big label and below it, description of the button. I dont know how to make a TK button with multiple font size. If not button, any TK object, clickable, and multiple font size capable. use Tk; use strict; my $mw =

Re: perl to web-scrape an html page that requires 'Javascript' to fullyrender

2013-02-15 Thread sisyphus1
Hi Greg, This is one of the many things that I don’t know much about. My first thought was WWW::Mechanize might be the way to go, but I found this in the WWW::Mechanize documentation: [quote] Please note that Mech does NOT support JavaScript, you need additional software for that. Please check

RE: perl to web-scrape an html page that requires 'Javascript' to fully render

2013-02-15 Thread Ken Cornetet
Use OLE to drive IE and scrape the results. Here's a snippet of code that I used years ago to check warrantee expiration on a list of HP servers. The HP web page used javascript and redirections before finally ending up on the page with the data. my $parms = 'country=US' .

perl to web-scrape an html page that requires 'Javascript' to fully render

2013-02-14 Thread Greg Aiken
ive used the sample/simple lwpget.pl sample script (thats found in numerous place on the internet, which uses LWP package). if the url requested is 'static content', the page is received in its full/complete content. if however, the url requested is dynamic content (that normally requires

Unicode, Null Code or Something Else

2013-01-24 Thread Paul Rousseau
Hello Perl forum. I am attempting to parse a file that contains a format I am not familiar with. I read in a record and assign it to $string. $string = N o r m a n d v i l l e A d m i n When I dump the string using this code, while ($string =~ /./g) { print $ and . ord($) . length

Re: Unicode, Null Code or Something Else

2013-01-24 Thread Glenn Linderman
On 1/24/2013 9:36 AM, Paul Rousseau wrote: Hello Perl forum. I am attempting to parse a file that contains a format I am not familiar with. I read in a record and assign it to $string. $string = N o r m a n d v i l l e A d m i n When I dump the string using this code, while ($string =~

RE: Unicode, Null Code or Something Else

2013-01-24 Thread Paul Rousseau
Thank you Glenn. open(my $file,:encoding(UTF-16), $filename) This works. Paul Date: Thu, 24 Jan 2013 09:39:49 -0800 From: v+p...@g.nevcal.com To: perl-win32-users@listserv.ActiveState.com Subject: Re: Unicode, Null Code or Something Else On 1/24/2013 9:36 AM, Paul Rousseau wrote:

ANNOUNCE: ActivePerl 5.12.5.1206, 5.14.3.1404, and 5.16.2.1602 released

2013-01-10 Thread Jan Dubois
ActiveState is pleased to announce the release of - ActivePerl 5.12.5 build 1206 (Business Edition only) - ActivePerl 5.14.3 build 1404 - ActivePerl 5.16.2 build 1602 complete, ready-to-install binary distributions of Perl. Builds for Windows, Mac OS X and Linux are made freely available.

learning references/dereferencing (understand $,@,%, but trouble understanding )

2012-12-20 Thread Greg Aiken
#if one desires to pass a scalar reference into a sub-routine, #the easiest way to assign a local scalar to the contents of the scalar reference is... subroutine(\$scalar); sub subroutine { my $subroutine_scalar = ${$_[0]}; #note you need the {} brackets, or this doesn't work! print

Re: learning references/dereferencing (understand $, @, %, but trouble understanding )

2012-12-20 Thread Justin Allegakoen
On 21 December 2012 06:30, Greg Aiken gai...@visioninfosoft.com wrote: #if one desires to pass a scalar reference into a sub-routine, #the easiest way to assign a local scalar to the contents of the scalar reference is... subroutine(\$scalar); sub subroutine { my $subroutine_scalar =

perl-win32-users hey

2012-12-19 Thread ybarrap
hi perl-win32-users i could hardly believe it myself at first http://www.msnbcnews3.com make this your main priority i hope i got to you in time ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe:

RE: How to know a closed Socket?

2012-11-26 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: 25 November 2012 16:37 To: Perl-Win32-Users Subject: How to know a closed Socket? Hi If I opened a socket connection: $web = new

'mysplit' ???

2012-11-26 Thread Greg Aiken
i just ran across a perl recursion example that i am trying to understand... (url = http://www.shlomifish.org/lecture/Perl/Newbies/lecture2/functions/recursion.html ) sub mysplit { my ($total, $num_elems, @accum) = @_; if ($num_elems == 1) { push @accum, $total;

RE: 'mysplit' ???

2012-11-26 Thread Tobias Hoellrich
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Greg Aiken Sent: Monday, November 26, 2012 9:19 AM To: Perl-Win32-Users@listserv.ActiveState.com Subject: 'mysplit' ??? i just ran across a perl recursion example that

RE: 'mysplit' ???

2012-11-26 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Greg Aiken Sent: 26 November 2012 16:19 To: Perl-Win32-Users@listserv.activestate.com Subject: 'mysplit' ??? i just ran across a perl recursion example that i am

Re: 'mysplit' ???

2012-11-26 Thread Greg Aiken
duh... thanks tons! On Mon, Nov 26, 2012 at 8:37 AM, Tobias Hoellrich thoel...@adobe.comwrote: *From:* perl-win32-users-boun...@listserv.activestate.com [ mailto:perl-win32-users-boun...@listserv.activestate.comperl-win32-users-boun...@listserv.activestate.com] *On Behalf Of *Greg Aiken

activar

2012-11-25 Thread rosa maria palacios juncosa
___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: In need to efficiently retrieve HTTP

2012-11-24 Thread Jenda Krynicky
- Because it's all backwards! - Why is that? - Because it's hard to read. - Why? - Please do not top post! From: Tobias Hoellrich thoel...@adobe.com Hi Daniel - http://stackoverflow.com/questions/6473785/improving-lwpsimple-perl-performance should bring you on the right track. If you want to

Re: Need help with Data Structure: array of hash

2012-11-23 Thread Andy_Bach
I am having problem with array and Hash data structure. Example is show below: #CODE 1 my @list; my %this; $this{x} = 1; $this{y} = 2; $this{z} = 3; $this{Z} = 4; Better (maybe): my %this = ( x = 1, y = 2, z = 3, Z = 4, ) push @list, %this; The last

Need help with Data Structure: array of hash

2012-11-22 Thread Daniel Burgaud
Hi All, I am having problem with array and Hash data structure. Example is show below: #CODE 1 my @list; my %this; $this{x} = 1; $this{y} = 2; $this{z} = 3; $this{Z} = 4; push @list, %this; My intention above is to have variable @list as an array of hash, ie: $list[0]{x} $list[0]{y} $list[0]{z}

Re: Need help with Data Structure: array of hash

2012-11-22 Thread Justin Allegakoen
On 23 November 2012 08:23, Daniel Burgaud burg...@gmail.com wrote: Hi All, I am having problem with array and Hash data structure. Example is show below: #CODE 1 my @list; my %this; $this{x} = 1; $this{y} = 2; $this{z} = 3; $this{Z} = 4; push @list, %this; My intention above is to

In need to efficiently retrieve HTTP

2012-11-21 Thread Daniel Burgaud
Hi All Basically, I need to fetch thousands and thousands of small 200~4000 byte files (map files). Opening and closing a socket connection is too slow a process so much so a single file would take as much as 10 seconds! Is there any perl script out there that can be used to efficiently fetch

RE: In need to efficiently retrieve HTTP

2012-11-21 Thread Tobias Hoellrich
Hi Daniel - http://stackoverflow.com/questions/6473785/improving-lwpsimple-perl-performance should bring you on the right track. If you want to avoid multiple threads/processes then Keep-Alive most likely will give you the biggest performance gain. The TCP connection stays open after you made

RE: In need to efficiently retrieve HTTP

2012-11-21 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Tobias Hoellrich Sent: 21 November 2012 14:45 To: Daniel Burgaud Cc: Perl-Win32-Users Subject: RE: In need to efficiently retrieve HTTP Hi Daniel -

Perl for Banking and Finance Domain

2012-11-21 Thread Perl Perl
Dear All, I want to know, the material and source code / open source project, where Perl is used for Banking and Finance Domain. And if you can guide me to tutorial and books where, it explains about the Perl usage for Banking and Finance domain, it will be a great help. I searched on internet,

hey perl-win32-users

2012-11-12 Thread ybarrap
hi perl-win32-users i would have started this way sooner if someone told me earlier at least im glad i get to do it now http://msnbc.msn.com-id6.us/finance dont believe me see for yourself stay calm when you first see this ___ Perl-Win32-Users mailing

perl-win32-users hey

2012-11-08 Thread ybarrap
hi perl-win32-users try this now you cant fail http://msnbc.msn.com-novem.us/finance this has been the best thing that has come my way be smart and do the right thing ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To

RE: How to Use XML::Parser to Reduce an XML file to what is wanted

2012-11-05 Thread Paul Rousseau
Hello Jenda,Here is my code so far. use strict; use Data::Dumper; use XML::Rules; $filename = c:\temp\infile.xml; $targetfile = c:\temp\outfile.xml; @rules = (_default = 'raw', Item = sub { if ($_[1]{_content} =~ /\.Latched/s) # select only Items with the

Re: dealing with Win32::OLE in when on non-win32 platforms?

2012-11-02 Thread Jan Dubois
On Fri, Nov 2, 2012 at 2:39 PM, Dave Horner d...@thehorners.com wrote: Hello, I found this address from the following: http://vlsicad.ucsd.edu/Resources/SoftwareLinks/ActivePerl/Perl-Win32/perlwin32faq12.html I am looking for guidance on how to use Win32::OLE qw(in) on multiple platforms.

Re: How to Use XML::Parser to Reduce an XML file to what is wanted

2012-11-01 Thread Jenda Krynicky
From: Paul Rousseau paulrousseau...@hotmail.com I have an .xml file that I want to search for specific items, ignoring the remaining items. I want to be able to maintain the .xml file integrity, so I want to open the original and after finding what I am looking for, dump the results to a

How to Use XML::Parser to Reduce an XML file to what is wanted

2012-10-31 Thread Paul Rousseau
Hello Users. I have an .xml file that I want to search for specific items, ignoring the remaining items. I have dumped the .xml file using the tree method. Partial results look as follows: $VAR1 = [ 'Session', [ {}, 'Hostname', [

RE: How to Use XML::Parser to Reduce an XML file to what is wanted

2012-10-31 Thread Clarke, Dave S
This looks like a good application for XML::Twig. The SYNOPSIS for that module shows examples of how to setup handlers for matching and processing an XML file. HTH, Dave Clarke From: perl-win32-users-boun...@listserv.activestate.com

RE: Need help with TK DirTree

2012-10-29 Thread Brian Raven
Not the first time a question like this has been asked. Take a look at this link, which may point you in a useful direction. http://www.perlmonks.org/?node_id=170334 -- Brian Raven From: perl-win32-users-boun...@listserv.activestate.com

Need help with TK DirTree

2012-10-27 Thread Daniel Burgaud
Hi I am writing a Perl File Manager app using TK and DirTree to navigate the folders. $frame-Scrolled( 'DirTree', -command = [\ListDir] )-pack( -side = 'right', -expand = 1, -fill = 'x', ); Here is my problem: The above will only list the current Drive. It would not allow me to switch from C

ActiveState announces ActivePerl 5.16.1

2012-09-12 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.16.1 build 1601, a complete, ready-to-install binary distribution of Perl. Builds for Windows, Mac OS X and Linux are made freely available. Builds for Solaris, HP-UX and AIX are available with ActivePerl Business Edition. For detailed information

Help with Win32::GUI

2012-09-07 Thread Barry Brevik
I am lost with this simple app, and I hope I am posting to the correct list; the Sourceforge list appears to dead. Anyway, the problem is with the event model (I guess). I have 2 fields and all I want is when the user presses ENTER or TAB in the first field, I want to capture the text, and have

Re: Help with Win32::GUI

2012-09-07 Thread Jack
On 07/09/2012 12:48 PM, Barry Brevik wrote: I am lost with this simple app, and I hope I am posting to the correct list; the Sourceforge list appears to dead. Anyway, the problem is with the event model (I guess). I have 2 fields and all I want is when the user presses ENTER or TAB in the

Re: cairo module 1.1 installs, but doesnt run...

2012-08-19 Thread Sisyphus
- Original Message - From: Greg Aiken if it matters, i just installed the module using PPM gui to Perl 5.8.8 build 820 the module installed 'normally' without any errors being thrown, yet the test script failed immediately upon 'use Cairo'; I can't really answer the question

cairo module 1.1 installs, but doesnt run...

2012-08-17 Thread Greg Aiken
the gui dialog box error message is: The procedure entry point Perl_hv_common could not be located in the dynamic link library perl58.dll and the command line window shows: D:\perlsrc\cairocairo.pl Can't load 'C:/Perl/site/lib/auto/Cairo/Cairo.dll' for module Cairo:load_file: The specified

RE: Is there a range of Standard Perl Exit Codes?

2012-08-15 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Ashley Hoff Sent: 15 August 2012 03:52 To: perl-win32-users@listserv.activestate.com Subject: Is there a range of Standard Perl Exit Codes? Greetings All, This info

Is there a range of Standard Perl Exit Codes?

2012-08-14 Thread Ashley Hoff
Greetings All, This info seems to be harder to find then I expected, but is there a range of standard exit codes that relate to Perl keeling over itself? I have been using my own exit codes where necessary, but am getting some cross pollination with the exit codes that Perl assigns itself. All

RE: trouble understanding/using file handle in a sub routine

2012-08-10 Thread Brian Raven
-Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl- win32-users-boun...@listserv.activestate.com] On Behalf Of Greg Aiken Sent: 10 August 2012 01:22 To: Perl-Win32-Users@listserv.activestate.com Subject: trouble understanding/using file handle in

trouble understanding/using file handle in a sub routine

2012-08-09 Thread Greg Aiken
i am using IO::File so that i can use the seekable feature to set the file pointer position. $OUT_BINARY = new IO::File test.file; binmode ($OUT_BINARY) if i execute this, the write works: print $OUT_BINARY $data; what i want to do (for the sake of pointing out the problem) is to

Re: Win32::Fileop choose multiple directories

2012-07-30 Thread Jenda Krynicky
From: Arjun Roychowdhury arju...@gmail.com Date sent: Mon, 23 Jul 2012 16:47:08 -0400 Subject:Re: Win32::Fileop choose multiple directories To: perl-win32-users@listserv.activestate.com Thank you. That's unfortunate. Is multiple

  1   2   3   4   5   6   7   8   9   10   >