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:
http://
sisyph...@optusnet.com.au
> To: miriam.he...@itk-austria.com; perl-win32-users@listserv.ActiveState.com
> Subject: Re: C#, Perl and COM objects (PerlNET / Win32::OLE)
> Date: Sat, 24 Oct 2015 00:56:19 +1100
>
> From: Miriam Heinz
> Sent: Friday, October 23, 2015 8:51 AM
> To: perl-win32-us
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 g
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 [mailto:
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 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::A
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 t
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 yo
-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 Config.
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
t
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
ile 2>$errorFile"
>
> The echo answers the caching prompt, the biggest gotcha that I have with
> the process.
>
> From: Mike Malony [mailto:mhmal...@gmail.com]
> Sent: Tuesday, 28 October 2014 9:22 AM
> To: Ashley Hoff
> Cc: Schwartz, Peter W; perl-win32-users@listserv.A
er 2014 9:22 AM
To: Ashley Hoff
Cc: Schwartz, Peter W; perl-win32-users@listserv.ActiveState.com
Subject: Re: SFTP
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.
| peter.w.schwa...@jpmorgan.com | jpmorgan.com
From: Mike Malony [mailto:mhmal...@gmail.com]
Sent: Monday, October 27, 2014 6:52 PM
To: Ashley Hoff
Cc: Schwartz, Peter W; perl-win32-users@listserv.ActiveState.com
Subject: Re: SFTP
I had much the same experience.
I've used both PSFTP.exe from Putt
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 c:\w
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
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
http://perlmav
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 crit
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,
Pe
e.com
Subject: Re: Request for more functionality in Math::BigFloat
- Original Message -
From: "Geoff Horsnell"
To:
Sent: Wednesday, July 02, 2014 12:34 AM
Subject: Request for more functionality in Math::BigFloat
> Has anyone extended the Math::BigFloat package to includ
- Original Message -
From: "Geoff Horsnell"
To:
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 niceties as
> the INT function, or remaindering? I need to be able to do s
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
Reply-To: j...@jspect.fastmail.com.au
To: perl-win32-users
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
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 "
> -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 dab
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 i
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
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 scri
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
On Fri, Mar 15, 2013 at 1:12 PM, Greg VisionInfosoft
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 had the thought to sim
>-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 ins
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: perl-win32-users-boun...@listserv.activestate.com
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 = t
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&' .
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 "
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,
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 =~ /.
duh... thanks tons!
On Mon, Nov 26, 2012 at 8:37 AM, Tobias Hoellrich wrote:
> *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
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 tryi
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
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 IO::Sock
- Because it's all backwards!
- Why is that?
- Because it's hard to read.
- Why?
- Please do not top post!
From: 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
> 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 las
On 23 November 2012 08:23, Daniel Burgaud 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 hav
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 -
>
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
e is the result.
11-30.PLC.Global.ES23_0001.Latched
Thank you. Paul > From: je...@krynicky.cz
> To: perl-win32-users@listserv.activestate.com
> Date: Thu, 1 Nov 2012 18:20:06 +0100
> Subject: Re: How to Use XML::Parser to Reduce an XML
On Fri, Nov 2, 2012 at 2:39 PM, Dave Horner 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.
> It works fi
From: Paul Rousseau
> 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
> second file.
>
> I am
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
[mailto:perl-win32-users-b
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
[mailto:perl-win32-users-boun...@listserv.activestate.com
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
- 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
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 inf
> -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 handl
From: Arjun Roychowdhury
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 multipl
Thanks Jenda. It seems CommonDialog is only from Vista onwards. I
unfortunately have a lot of XP users as well.
I think the only way is for me to create a custom widget, or revert to
the less intuitive Tk FileSelect family.
regds
On Mon, Jul 23, 2012 at 4:43 PM, Jenda Krynicky wrote:
> From: Arj
Thank you. That's unfortunate.
Is multiple directory selection all that strange? My usecase is that I
am writing a tool to upload a whole bunch of folders to a cloud
service and they are not necessarily inside one neat directory...
regds
On Mon, Jul 23, 2012 at 4:43 PM, Jenda Krynicky wrote:
>
From: Arjun Roychowdhury
> Hi, I am looking for a perl API that presents a windows style dialog
> to users and allows them to select multiple folders. While perl::Tk
> has FileSelect and DirTree etc they don't have the native windows look
> and feel.
> In reading
> http://search.cpan.org/~jenda/W
nd of
call into an XS module or something.
Thank you for posting,
Barry Brevik
-Original Message-
From: Steven Manross [mailto:ste...@manross.net]
Sent: Wednesday, July 18, 2012 5:07 PM
To: Barry Brevik; perl Win32-users
Subject: RE: Help with LookupAccountSID (again)
What about the foll
What about the following...
Excerpt from:
http://cpansearch.perl.org/src/TEVERETT/Win32-Security-0.50/lib/Win32/Se
curity/SID.pm
sub ConvertStringSidToSid {
my($text) = @_;
my(@Values) = split(/\-/, $text);
(shift(@Values) eq 'S' && scalar(@Values) >= 3) or return;
@listserv.ActiveState.com
Subject: RE: Help with LookupAccountSID (again)
Found a Perl solution. Here you go:
http://search.cpan.org/dist/Win32-Security/lib/Win32/Security/SID.pm
-Original Message-
From: Barry Brevik [mailto:bbre...@stellarmicro.com]
Sent: Wednesday, July 18, 2012 2:46 PM
To: Howard
: RE: Help with LookupAccountSID (again)
I tried to implement that call using Win32::API, but I just don't know
enough about Windows to make it work.
Thank you for posting,
Barry Brevik
-Original Message-
From: Howard Tanner [mailto:tan...@optonline.net]
Sent: Wednesday, July 18, 2012
lf Of
Barry Brevik
Sent: Wednesday, July 18, 2012 2:45 PM
To: Cordoni, Ray; perl Win32-users
Subject: RE: Help with LookupAccountSID (again)
Ay Caramba!! I thank you for the post, but my skills are too low to
reverse that monstrosity!
Barry Brevik
-Original Message-
From: Cordoni, Ray [ma
Win32-Users@listserv.ActiveState.com
Subject: RE: Help with LookupAccountSID (again)
Sorry, forgot to copy the group. Here's what I sent to Barry:
The Win32 API to do that is ConvertStringSidToSid:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa376402(v=vs.85
).as
px
My Perl is
Ay Caramba!! I thank you for the post, but my skills are too low to
reverse that monstrosity!
Barry Brevik
-Original Message-
From: Cordoni, Ray [mailto:rcord...@richmond.ca]
Sent: Wednesday, July 18, 2012 11:38 AM
To: Barry Brevik; perl Win32-users
Subject: RE: Help with
Sorry, forgot to copy the group. Here's what I sent to Barry:
The Win32 API to do that is ConvertStringSidToSid:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa376402(v=vs.85).as
px
My Perl isn't strong enough to know how to call this from Perl, but I'm sure
someone stronger in Perl c
Geez, ask for a little help, and you get an encyclopedia ;-)
Lots to chew on. Thanks Mike, Howard, Leo, and Martin.
for the lessons.
I did open a cmd prompt as administrator, and invoked
ttree. This time when I told him to create the .ttreerc file,
he dutifully did so at c:\, so I can now contin
Dennis Daupert [ddaup...@csc.com] wrote:
> > Run the script or cmd as admin (right click on the command icon,
> > select run as admin) would probably help
>
> This is a Perl script, configure.pl, no command icon to click on.
> Is there another way I can run it as admin?
>
> best,
>
> /dennis
M
estate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Dennis Daupert
Sent: Wednesday, July 11, 2012 1:48 PM
To: leosusa...@gmail.com
Cc: perl Win32-users
Subject: Re: Template Toolkit on Windows 7
> Run the script or cmd as admin (right click on the command icon,
> sele
> Run the script or cmd as admin (right click on the command icon,
> select run as admin) would probably help
This is a Perl script, configure.pl, no command icon to click on.
Is there another way I can run it as admin?
best,
/dennis
Upcoming time off: none planned
---
Run the script or cmd as admin (right click on the command icon, select run as
admin) would probably help
Sent on the Sprint® Now Network from my BlackBerry®
-Original Message-
From: Dennis Daupert
Sender: perl-win32-users-boun...@listserv.activestate.com
Date: Wed, 11 Jul 2012 09:07:44
Thanks for posting!!
-Original Message-
From: Ken Cornetet [mailto:ken.corne...@kimball.com]
Sent: Tuesday, July 10, 2012 11:39 AM
To: Barry Brevik; perl Win32-users
Subject: RE: Win32::LookupAccountSID()
http://code.activestate.com/lists/perl-win32-users/26301/
-Original Message
http://code.activestate.com/lists/perl-win32-users/26301/
-Original Message-
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Barry
Brevik
Sent: Tuesday, July 10, 2012 2:28 PM
To: perl Win32-users
Subject: Win
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Rothenmaier, Deane
Sent: 15 June 2012 16:48
To: perl-win32-users@listserv.ActiveState.com
Subject: Okay, hand me my dunce-cap
> foreach my $key (124..155) {
>$cs_ke
age-
From: Barry Brevik [mailto:bbre...@stellarmicro.com]
Sent: Thursday, June 21, 2012 1:13 AM
To: Gianvittorio Negri; Perl-Win32-Users@listserv.activestate.com
Subject: RE: New W2K8 I/O priority
I have used the approximate code below many times, and since you can control
the priority of the proc
I have used the approximate code below many times, and since you can control
the priority of the process, it may work for you. Of course, the Perl program
that you launch using the scheduler would have to use the technique below to
launch the 'real' Perl program.
Use Win32;
Use Win32::Process;
> -Original Message-
> From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-
> win32-users-boun...@listserv.activestate.com] On Behalf Of John Mason
> Jr
> Sent: Tuesday, June 19, 2012 5:43 PM
> To: perl-win32-users@listserv.ActiveState.com
> Subject:
On 6/18/2012 2:50 PM, Gomes, Rich wrote:
> This may be a long shot but worth a try.
> The author of Active Directory Cookbook used to have perl scripts for the
> examples given in the book (mainly VBScript) on his website:
> http://rallenhome.com/books/adcookbook2
>
> That's been down for a while
> -Original Message-
> From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-
> win32-users-boun...@listserv.activestate.com] On Behalf Of David N.
> Blank-Edelman
> Sent: Monday, June 18, 2012 7:42 PM
> To: perl-win32-users@listserv.ActiveState.com
>
Hi Rich-
On Jun 18, 2012, at 3:00 PM, perl-win32-users-requ...@listserv.activestate.com
wrote:
> The author of Active Directory Cookbook used to have perl scripts for the
> examples given in the book (mainly VBScript) on his website:
> http://rallenhome.com/books/adcookbook2
>
> That's been do
On Fri, Jun 15, 2012 at 10:29 AM, Rothenmaier, Deane
wrote:
> Yes, it’s Yet Another Noob Question, but the Camel stands mute…
>
>
>
> Is there a way of limiting keys()? I want to change some values in a hash,
> the values to change or not depending on the value of their keys.
>
>
>
> I.e.:
>
> my
Hello,
If you can use Firefox, there is a handy extension - HttpFox, which
displays all requests which are sent to the server (including AJAX).
This way you can forge the same request in your perl script and call it
just like client side browser script does.
Pozdrawiam,
rocku
rock...@gmail.com
Have you looked at WWW::Salesforce?
It requires a little more setup than a straight LWP call (and relies on
SOAP::Lite), but is going to be a lot more reliable than screen scraping.
-Conor
On Jun 8, 2012 1:08 PM, "Ken Cornetet" wrote:
> If you are on windows, you can “drive” IE via OLE, and scr
If you are on windows, you can "drive" IE via OLE, and screen-scrape the
results.
Here's a bit of code I used some time ago (way back when we had physical
servers) to get the warrantee information from an HP web site.
sub GetWarranty {
my $serial = shift;
my $pr
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Greg
Aiken
Sent: 07 June 2012 23:08
To: Perl-Win32-Users@listserv.activestate.com
Subject: win32 and modifying a file
> dear win32 perl users, ive never actually known
Forgive me for being dense here for a moment, but isn't it the case
that in any text file, or any kind of file for that matter, editing in
place is overwriting data in subsequent bytes ? So every single time I
had to modify the middle of a file I had to do exactly what you
describe.
It has not
> Date: Thu, 7 Jun 2012 15:08:08 -0700
> Subject: win32 and modifying a file
> From: gai...@visioninfosoft.com
> To: Perl-Win32-Users@listserv.activestate.com
>
> dear win32 perl users, ive never actually known how to 'modfiy' a file
> using perl on win32
-8<---
> PS. Not sure that this is of any help to you as I ended up having two files.
> But at least it may illustrate some more power in Perl.
-8<---
Windows doesn't allow in place editing, so on DOS you're left with an
extra move
> -Original Message-
> From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-
> win32-users-boun...@listserv.activestate.com] On Behalf Of Greg Aiken
> Sent: Thursday, June 07, 2012 4:08 PM
> To: Perl-Win32-Users@listserv.activestate.com
> Subject: [EXTERNAL] win32 and modify
perl-win32-users-boun...@listserv.activestate.com wrote on 06/05/2012
03:00:02 PM:
> A non-text attachment was scrubbed...
> Name: pullFromEventLog.pl
It was a text attachment, you silly little program... Well, I don't know
how to get my mailer to send text only, so I can't blame it much.
Its
"Barry Brevik" wrote on 06/04/2012 06:34:07 PM:
> Thank you for the detailed response, even if it is depressing.
Don't think of it as depressing, think of it as an opportunity. Gathering
all your logs could provide more insight into your environment.
Attached is a toy I wrote.
The idea is to
Thank you for the detailed response, even if it is depressing.
Barry Brevik
> On the other hand, if you are really asking the question "from",
> you have to go to the event logs; there, you can get if a login
> was local or via the network. The problem, of course, is that it
> is very transitory
perl-win32-users-boun...@listserv.activestate.com wrote on 06/04/2012
03:00:03 PM:
> I have a need to determine which client machine a given user (or all
> users) has logged into the domain from.
>
> I'm willing to back into it by starting with all client machines. I'm
If you can access via WMI,
Well, for starters...
The information is in your eventlogs on ALL the domain controllers
(collectively).
So, WMI and the Win32_Eventlog class is a good place to start (via
Win32::OLE).
http://www.manross.net/download.aspx?file=/perl/scripts/wmi-generic.pl
C:\perl\scripts>perl wmi-Generic.pl D
To the best of my knowledge (I'd love to be wrong here), this
information does not exist.
Best case scenario, you'd have to turn on some audit flags and from
there parse event log information. Also, this would only work from a
point in time.
We chose to leverage a logon script with a sub routine
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Greg
Aiken
Sent: 11 May 2012 01:15
To: Perl-Win32-Users@listserv.activestate.com
Subject: dbd-anydata - i cant get it to INSERT new records
> dear win32 perl users,
..
After an IRC chat with haratron I made this sample code of how to use
Win32::MMF raw C style. Without the proprietary Storeable cough cough RPC layer
that doesn't let you normally use Win32::MMF for non Perl to Perl IPC
communications. The 2 scripts must be in the same folder for them to work.
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Rothenmaier, Deane
Sent: 03 May 2012 17:08
To: perl-win32-users@listserv.ActiveState.com
Subject: Hash Key function puzzlement -- a point of information query
> Gurus,
ier, Deane; perl-win32-users@listserv.ActiveState.com
> Subject: Re: Hash Key function puzzlement -- a point of information query
>
> What Leo said. keys(%hash) returns the keys from the hash as an array, you
> can't assign to it AFAIK.
>
> On Thu, May 3, 2012 at 10:18 AM, Leo Susanto
> w
What Leo said. keys(%hash) returns the keys from the hash as an array,
you can't assign to it AFAIK.
On Thu, May 3, 2012 at 10:18 AM, Leo Susanto wrote:
> keys is a function, it doesn't take in value
>
> On Thu, May 3, 2012 at 9:08 AM, Rothenmaier, Deane
> wrote:
>> Gurus,
>>
>>
>>
>> Given some
1 - 100 of 14263 matches
Mail list logo