Re: scanf equivalent?

2004-09-07 Thread Michael
Take me off this list please!Submitted by: [EMAIL PROTECTED] One day at a time! Do you Yahoo!? Yahoo! Mail is new and improved - Check it out!___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe:

WIN32::OLE WMI Out params

2009-12-03 Thread Michael
$objGetRoot = $objOV_NodeGroup-GetRoot(); my @arrNodes; my $objChildGroups = $objGetRoot-GetChildNodeGroups(@arrNodes, True); print Child Group Count: . $objChildGroups . \n; print @arrNodes . \n; # PerlScript End Any help would be appreciated. /Michael

RE: WIN32::OLE WMI Out params

2009-12-03 Thread Michael
Michael wrote: Hi, I'm a novice regarding Perl, and need some help converting a VBScript to a PerlScript. The following VBScript returns some data from HP OpenView. The GetChildNodeGroups method returns the number of ChildGroups, and the [out] parameter NodeGroups returns

RE: WIN32::OLE WMI Out params

2009-12-03 Thread Michael
). It might lead you in a direction that fixes it. Steven Added to the script, but no issues reported. /Michael ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: WIN32::OLE WMI Out params

2009-12-04 Thread Michael
://www.perlmonks.org/?node_id=325823 However I'm in way over my head here, so unless someone could cut it out in pieces , I don't think that I'll get any further. /Michael On Fri, 4 Dec 2009 02:12:03 -0700, Steven Manross ste...@manross.net wrote: Below... -Original Message- From

RE: WIN32::OLE WMI Out params

2009-12-04 Thread Michael
##$VAR1 = bless( do{\(my $o = 27199524)}, 'Win32::OLE::Variant' ); ##Not a HASH reference at GetChildNodeGroups.pl line 46. Does any of this, make any sense to you guys? /Michael ___ Perl-Win32-Users mailing list Perl-Win32-Users

Re: WIN32::OLE WMI Out params

2009-12-05 Thread Michael
On Fri, 04 Dec 2009 17:10:26 -0800, Michael Ellery mi...@s2technologies.com wrote: Michael wrote: Okay - Just to sum up the whole thing. The original VBScript EOF; Option Explicit Dim objWMIService, objOV_NodeGroup, objGetRoot, objChildGroups, arrNodes, objItem Set objWMIService

Re: WIN32::OLE WMI Out params

2009-12-05 Thread Michael
On Sat, 05 Dec 2009 05:58:48 -0800, Michael Ellery mi...@s2technologies.com wrote: Michael wrote: On Fri, 04 Dec 2009 17:10:26 -0800, Michael Ellery mi...@s2technologies.com wrote: Michael wrote: Okay - Just to sum up the whole thing. The original VBScript EOF; Option Explicit Dim

Re: How to Extract a Date from a File

2011-11-03 Thread Michael
the script with the text file as a parameter perl myscript.pl mytextfile.txt If you want to search multiple files just add them as well perl myscript.pl mytextfile.txt mytextfile2.txt etc /Michael ___ Perl-Win32-Users mailing list Perl-Win32-Users

RE: help me with perl TK!!

2000-10-05 Thread erskine, michael
-Original Message- From: Fabio Quintao [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 04, 2000 3:24 AM To: [EMAIL PROTECTED] Subject: help me with perl TK!! Hi all!! i have some questions that is very easy for most of you people on the listwell i'm trying to

RE: John Giordano, Ron Riley, etc. (ASCII PLS!)

2000-10-26 Thread erskine, michael
now? Yes, and it was a bad idea then too. Regards Marty No worries. If the list is going to have a posting policy (as many usenet groups do) then I would vote for a ban on HTML mail (and all of the underhand exploits and junk that go with it). Michael Erskine (MSEmtd) mailto:[EMAIL PROTE

RE: John Giordano, Ron Riley, etc. (ASCII PLS!)

2000-10-26 Thread erskine, michael
-Original Message- From: Joe Schell [mailto:[EMAIL PROTECTED]] Sent: 26 October 2000 16:50 To: erskine, michael; '[EMAIL PROTECTED]' Subject: RE: John Giordano, Ron Riley, etc. (ASCII PLS!) - 8 snip --- I *can* receive any old crap - I just

RE: hash of..hashes...

2000-10-31 Thread erskine, michael
/~mjd/perl/FAQs/references.html ...this will show you how to achieve the data structures you require using perl5 references. Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.Activ

RE: Getting modules

2000-11-06 Thread erskine, michael
or help with Win32 compilation and perhaps Win32 binary package production to share with the world! Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

RE: Getting modules

2000-11-06 Thread erskine, michael
/SAMTREGAR/HTML-Pager-0.03.tar.gz Thanks in advance. Allan Er, hold on, I just did the legwork for you! Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman

RE: Insatlling module

2000-11-06 Thread erskine, michael
rights reserved. Installing D:\Perl\site\lib\HTML\Pager.pm Writing d:\Perl\site\lib\auto\HTML\Pager\.packlist Appending installation info to d:\Perl\lib/perllocal.pod NB: I skipped the "nmake test" step because I knew it wouldn't work on my setup (no HTML::Template which is a dependency).

RE: Help, fileevent (Tk) fails in NT for sockets

2000-11-06 Thread erskine, michael
is limited in the types of filehandles that behave correctly. Making filefhandles non-blocking is only implemented on a subset of UNIX platforms (see Tk::IO). ...so there you have it! Why not use select? Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH

RE: Installing C-Referencing Modules

2000-11-13 Thread erskine, michael
the C code does NOT compile cooperatively! :-) Brad Yes, I know that pain! I shall take a look at the GD module and see what it wants - which version do you want to build? Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users

RE: Installing C-Referencing Modules

2000-11-13 Thread erskine, michael
mailing list! /tongue-so-firmly-in-cheek-that-I-can-hardly-speak Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

RE: Releasing Memory used by an array

2000-11-16 Thread erskine, michael
with the You can undef @array; Are you creating references to the array in some way? Are you using Win32::OLE to control Excel? (careful with references here) Can always have script respawn itself with exec? If all else fails you could use the debugger to observe garbage collection. Michael

RE: Executing background process on NT

2000-11-16 Thread erskine, michael
orer /e,c:\temp" ); system( 'start', "explorer /e,c:\temp" ); system( 'start', "explorer /e,c:\temp" ); print "finished starting things.\n"; print "Sleeping to prove the things have started independently!\n"; sleep(60); print "

RE: IO::Socket - errors from auto bind and listen when new()

2000-11-24 Thread erskine, michael
tion of IO::Socket or the socket() builtin on Activestate or Win32 build (since bind() works OK on Win32 in C). Where next? Graham Barr? Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTE

RE: IO::Socket - errors from auto bind and listen when new()

2000-11-24 Thread erskine, michael
-Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTECTED]] Sent: 24 November 2000 12:53 To: erskine, michael Cc: '[EMAIL PROTECTED]' Subject: Re: IO::Socket - errors from auto bind and listen when new() If you have a C compiler, try writing it in C on Windoze. If it fails

RE: FCNTL

2000-11-28 Thread erskine, michael
in... http://bugs.activestate.com/ap.bugs/modules?id=505 Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

No love from PPM

2000-11-28 Thread Michael Chock
Hey, all. Newbie here. I'm trying to get Bugzilla running under Windows, which involves installing some packages in ActivePerl. The only hitch is that as far as I can tell, the only internet traffic that can get through the company firewall is what Internet Explorer sends and receives. In

RE: No love from PPM

2000-11-29 Thread erskine, michael
-Original Message- From: Michael Chock [mailto:[EMAIL PROTECTED]] Sent: 28 November 2000 17:58 To: [EMAIL PROTECTED] Subject: RE: No love from PPM I've tried this before with various other apps. The firewall is apparently some proprietary Microsoft thing, and, like I say

RE: process output pipe autoflush

2000-12-05 Thread erskine, michael
te (except for all the Win32 caveats of course!)... http://perl.plover.com/ Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Re: New service in NT

2000-12-05 Thread Michael Fountain
I use a program called 'schedule assistant! for NT' You can use it to run scripts, batch files, .exe files, whatever, whenever you want. I don't want to pass it to everyone on this board (it is a 1.1MB file), but if you email me direct, I'll send it to you - it is a freeware program. I

RE: process output pipe autoflush

2000-12-06 Thread erskine, michael
r.com/FAQs/Buffering.html Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Win32::API -- keybd_event

2001-02-02 Thread Rafala, Michael
I've got a script that uses Win32::API to send an Esc key command to the application with the focus. Because API.pm is not included in the standard release of ActivePerl, I'd rather not have to use it. Is there another way to accomplish this? The goal is to automatically release a message box

RE: icon title bar

2001-02-06 Thread erskine, michael
sig) Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH #! perl -w use strict; use Tk; sub makeicon; my $mw = new MainWindow(); my $icondata; makeicon(); $mw-Icon(-image = 'dilbert'); MainLoop; sub makeicon { my $icondata = "EOXPM"; /* XPM */ static char *dilbert[] = { /* wi

RE: icon title bar

2001-02-06 Thread erskine, michael
NB: the lack of transparency is a known issue - what I usually do is choose an appropriate non-transparent icon. Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com

RE: :FTP question

2001-02-07 Thread Lavery, Michael
) -Original Message- From: Christopher Hahn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 07, 2001 2:50 PM To: '[EMAIL PROTECTED]' Subject: RE: :FTP question Michael, You could use rsh to invoke a command on the unix box. NT comes with a rsh call. (or at least Win2K

Socks Problem...

2001-02-07 Thread Michael Snead
could someone tell me how to get the STOR to work in the example above? Thanks in advance, Michael Snead ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

RE: I've sprung a Memory Leak!!

2001-02-27 Thread Michael Marziani
program. Other than that, search the web for "+perl +memory" and you should pull a good amount of info, probably more helpful than mine above. :) -Mike ______ Michael Marziani Systems Administrator - OnFiber Communications Phone: 512.651.7455 Fax: 51

RE: How Can I Move My ActivePerl Install?

2001-03-14 Thread Michael Marziani
I believe that all you must do is change the PATH variable. -Mike -Original Message- From: Gregory Sandoval [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 9:05 PM To: [EMAIL PROTECTED] Subject: How Can I Move My ActivePerl Install? Hello, I have tried two times to

How to remove a hash ref from an Array? (Win32::Perms)

2001-03-15 Thread Michael Marziani
don't want to count on that. Or can I? Thanks for your help. -Mike ______ Michael Marziani Systems Administrator - OnFiber Communications ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/m

RE: Non-blocking sockets are impossible on win32?

2001-03-28 Thread erskine, michael
across. Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

RE: IO::Socket help please -- detailed with easy to read code :)

2001-05-14 Thread Michael Marziani
of some sample code that does this? Thanks! -Mike -Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 7:50 PM To: Michael Marziani Cc: '[EMAIL PROTECTED]' Subject: Re: IO::Socket help please -- detailed with easy to read code :) Michael Marziani

RE: IO::Socket help please -- detailed with easy to read code :)

2001-05-14 Thread Michael Marziani
for all the great info. -Mike -Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 3:21 PM To: Michael Marziani Cc: '[EMAIL PROTECTED]' Subject: Re: IO::Socket help please -- detailed with easy to read code :) Michael Marziani wrote: Ok, so Bill

perlcom vs. perlez

2001-05-22 Thread Rafala, Michael
How is perlcom different from perlez. They are both COM objects, aren't they? Some of the methods look similar. mike rafala rafala m at cadmus com ___ Perl-Win32-Users mailing list [EMAIL PROTECTED]

RE: Error in cleanup in TieRegistry

2001-05-25 Thread erskine, michael
. I am also on NTWKS4. BTW: The workaround for your posted example is to not use Win32::TieRegistry at all since it is not used by any of the code! ;o) Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL

interfacing with Eudora

2001-05-28 Thread Michael Mirman
I'm considering writing a script that would send a mail message using Eudora. Has anyone done anything like this? How easy/difficult can this be? If this turns out to be difficult, I'll start looking into possible perl mail packages. I've been using blat instead of a pure perl solution, but I

RE: Standalone RegEx tester

2001-06-01 Thread erskine, michael
. Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

RE: Regex Question: splitting at a point unless part of a quoted substring

2001-06-07 Thread erskine, michael
). Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

RE: Wildcard matching of hash keys

2001-06-08 Thread erskine, michael
})) #I { print Key exists\n; } Ooh...ooh...let me!!! my @hits = grep /.*red.*/, keys( %hash ); la-la-la! first post - first post - first post !! Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list

RE: Wildcard matching of hash keys

2001-06-08 Thread erskine, michael
-Original Message- From: Rubinow, Larry [mailto:[EMAIL PROTECTED]] Sent: 08 June 2001 16:07 To: 'erskine, michael'; '[EMAIL PROTECTED]' Subject: RE: Wildcard matching of hash keys Well, sure ... but why not my @hits = grep /red/, keys( %hash ); Ouch! I was stumbling my

RE: My first module - a registry-stored Most-Recently-Used list - - please don't laugh!

2001-06-15 Thread erskine, michael
- in fact I only logged in to download it myself and take it on holiday with me! I'll say it again... ARGGGH! Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http

RE: Find Grep

2001-06-20 Thread erskine, michael
://prdownloads.sourceforge.net/tvlistings/tkfif_v2_0_Win32.zip Michael Erskine (MSEmtd) mailto:[EMAIL PROTECTED] JAPH ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Use of Perl macros in MS Outlook?

2001-06-30 Thread Michael A Adams
Hey all, I've been a lurker for a while now and have appreciated the various discussions herein... I've a question namely, does anyone know if it's possible to use a perl script as a macro under MS Office? Maybe by writing a VB wrapper? Any and all comments appreciated 'cause I'd LOVE

Re: HELP !

2002-01-25 Thread Lomker Michael
Some of the network guys are starting to point the finger at Perl. We are using Perl to interface with MYSQL (same box) and DB2 databases (Mainframe). It probably is. I've been learning to write perl CGI scripts and I've completely hung IIS on two occasions.Both of those times

RE: HELP !

2002-01-26 Thread Lomker, Michael
True, but this is a script problem, not a Perl problem. An infinite loop is going to hang anything. I can understand that the script/perl would hang, but that doesn't excuse having the entire web server out of commission as a result. ___

Win32 script calling Unix server

2002-03-01 Thread Rafala, Michael
Suppose my Win32 machine has access to a Unix machine over our network. What would I need (modules?) to write a Win32 Perl script on my machine that would log on to and send commands to the Unix server? Perhaps, for instance, I want to fire some scripts for a language I don't have on my Win32

RE: Help with file parsing

2002-07-10 Thread Michael Erskine
, Michael. -Original Message- From: Erich C. Beyrent [mailto:[EMAIL PROTECTED]] Sent: 10 July 2002 12:27 To: [EMAIL PROTECTED] Subject: Help with file parsing Hey everyone, I have a file that looks like: [record_1] here=20 is=20 some text [record_2] and=20 some more [record_3

Invalid class string error using SetSecurityDescriptor...

2002-07-26 Thread michael . berry
I am trying to write a program to add an ace to the acl for several thousand users in AD. I have been successful at creating users but I am stuck at the asterisked line near the end of the provided code. I have the adssecurity.dll file registered. I have been able, with some other code, to

eduWin32::OLE(0.1502) error 0x80005000 after character 0 in

2002-08-20 Thread michael . berry
I am getting an error when running some ADSI code...here is a sample that works when run from DOS but doesn't work through IIS 5.5. IIS has been configured to run processes as the logged on user so that I can logon as an admin. Here is the code: use Win32::OLE; $server = CG-BACKOFF-2;

Re: Perl IDE..

2002-10-23 Thread michael higgins
, but you have the option to not use it].) Good luck! -- Michael Higgins ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

MultiTail and its output

2002-10-18 Thread Michael Holmes
## if(/^ORA\-/) send error to output file and mail via ::Multipart What I would like to do is not that complicated, I just need some help figuring out how to get the data from ::MultiTail. TIA, Michael Holmes Senior Database Administrator Campus Crusade

Re: Win32 Net::SFTP

2002-11-21 Thread michael higgins
with fcntl() There's a new release of the sftp.pm which calls w32perl, I think solving the problems. Whatever reinstalling with the new module did, did it for me. (Without the /conf file.) See: http://aspn.activestate.com/ASPN/Mail/Message/perl-win32-users/1440763 HTH -- Michael Higgins

Re: perl-win32-users - Best way to return a path to a file ?

2002-12-04 Thread michael higgins
to longnames or vice-versa. Compare with Win32::GetShortPathName and Win32::GetLongPathName. This function has been added for Perl 5.6. -- Michael Higgins Development Associate Joseph Slifka Center for Jewish Life at Yale [EMAIL PROTECTED

Re: defined Fcntl macro F_SETFL

2003-01-03 Thread michael higgins
: I began this project as an attempt to port Net::SSH::Perl to MSWin32 (see ERRATA.txt). The modules here are by-and-large required by Net::SSH::Perl. I think one of them was updated from an earlier version and this fixed the problem. HTH -- Michael Higgins -- Michael Higgins Development

Re: Win32::OLE and Excel, Word, Access etc.

2003-01-07 Thread michael higgins
reference comes with, say, ms word, for macro creation. Also, ole browser (dhtml app) comes with AS install, on my machine at: C:\Perl\html\site\lib\Win32\OLE\Browser\Browser.html. On my machine, needs IE to run. Good luck! -- Michael Higgins

Re: Convert disk space size to readable form.

2003-01-07 Thread michael higgins
not . . . Just in [] cheers -- -- Michael Higgins ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: hash of hashes-- preserve insertion order

2003-01-17 Thread michael higgins
James S. Martin wrote: I have a multi-level hash (about 4 hashes deep) and I want to keep the insertion order of the keys in which it was created. I've tried use Tie::IxHash but it doesn't seem to handle the keys in the sub-hashes. Is there a better way to do this? [snip] I've put an

Re: hash of hashes-- preserve insertion order

2003-01-17 Thread michael higgins
James S. Martin wrote: I have a multi-level hash (about 4 hashes deep) and I want to keep the insertion order of the keys in which it was created. I've tried use Tie::IxHash but it doesn't seem to handle the keys in the sub-hashes. Is there a better way to do this? Thanks, {[DuhSNIP]}

Re: Hashes and arrays.

2003-01-20 Thread michael higgins
Beckett Richard-qswi266 wrote: Hello World, again! I've got my hashes of hashes of hashes of... working well, now, thanks to all who helped. The only last thing I can't do is get the sort to work. I have this hash... %vars = ( dog_name = { question = Please enter your dog's name: ,

Issues with Net::DNS .3x

2003-02-06 Thread Michael Bell
Several customers I work with have been having problems with Net::DNS .3x hanging. This was recently (a month or two ago?) added to PPM, which previously had .12 I've received confirmation from the Net::DNS developers that Net::DNS is KNOWN not to work on Win32. Can ActiveState please backrev

Re: Deciphering DBI trace fro DBD-XBase

2003-02-13 Thread michael higgins
Adam Frielink wrote: I posted this yesterday on the Win32-database list and got no response. Can anyone help with this problem? I am trying to debug this script of mine, but I cannot seen to understand why I get the following error... Tk::Error: Can't locate object method new via package

Re: Deciphering DBI trace fro DBD-XBase

2003-02-13 Thread michael higgins
Adam Frielink wrote: I posted this yesterday on the Win32-database list and got no response. Can anyone help with this problem? [snip] And to followup, thankfully, I have a separate install on my box at the office. Replacing 'Xbase.pm' ver 1.07 with 'XBase.pm ver $VERSION = '0.210';

Re: Deciphering DBI trace fro DBD-XBase

2003-02-13 Thread michael higgins
michael higgins wrote: Adam Frielink wrote: I posted this yesterday on the Win32-database list and got no response. Can anyone help with this problem? [snip] And to followup, thankfully, I have a separate install on my box at the office. Replacing 'Xbase.pm' ver 1.07 with 'XBase.pm

Re: help reading file url loop

2003-02-13 Thread michael higgins
- Original Message - From: $Bill Luebkert [EMAIL PROTECTED] To: Malcolm Debono [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, February 13, 2003 1:31 AM Subject: Re: help reading file url loop Malcolm Debono wrote: Hello, Can someone please help. I am trying to get my

Re: Win32 Screenshot/Screencapture with perl

2003-02-16 Thread michael higgins
Roland Moriz wrote: Hi, I need to do screenshots with perl on win32. The only possible way i found is to simmulate they printscrn key and then read the clipboard. On the London.pm I don't know about that, but I remembered cribbing this from the list, which does what you ask: #!perl -w --

Re: Having problems with Net::Telnet

2003-03-03 Thread michael higgins
Lupi, Guy wrote: Please excuse me if this is an extremely basic question, this is my first post and I am a beginner, but I can't seem to get Net::Telnet to work. I am getting the following error when I try to run a script using the Net::Telnet module. Can't locate object method new via package

Re: Having problems with Net::Telnet

2003-03-04 Thread michael higgins
Lupi, Guy wrote: I did that, here is the output that was returned. C:\Perlppm install Net::Telnet [snip] Successfully installed Net-Telnet version 3.03 in ActivePerl 5.8.0.804. Then I tried to run my script and I got the same error message. [snip] FYI, I tried the snip on 98se, 5.6 build 633.

Re: creating users in Active Dir

2003-03-04 Thread michael higgins
alex p wrote: Hello all, I am new to perl and am looking to find a module (or script) that would allow me to create users in active directory. Thank you in advance , Part of a recent thread Adding Users to AD with OLE may help?: http://aspn.activestate.com/ASPN/Mail/Message/1541362 -- Mike

Printing png-files as a batch

2003-03-25 Thread Michael Steffens
a solution? Thanks, Michael ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Reverse of Chomp...

2003-06-12 Thread Michael Higgins
George Gallen wrote: Is there a way to reverse chop/chomp I'm reading STDIN into an array, then chomping off the last character of each of the array elements. Now I'd like to write the array back out to STDOUT, but I want to put the \n's back between each of the lines. Aside from

Re: I cannot find Crypt::SSLeay

2003-06-12 Thread Michael Higgins
Medlen, Jiri wrote: Hello, Crypt-SSLeay 0.35 It is listed http://ppm.activestate.com/BuildStatus/5.6.html but I cannot find it for Perl 5.6. Thanks for help. Jiri -- Packages available from http://theoryx5.uwinnipeg.ca/ppmpackages/: Crypt-SSLeay [0.51] OpenSSL glue that provides LWP https

Re: Date from string

2003-06-11 Thread Michael Higgins
From: Bryan Tom Team EITC [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 9:26 PM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: Date from string I am creating a daily report that pulls all sorts of WMI information from every server in my enterprise. I am simply looking for ideas

RE: Unsure How To Automate

2003-06-30 Thread Michael Erskine
a service hence the scheduled task. I'd be happy to post the code. I would also like to get my hands on the source -- its almost certainly just a thin wrapper to the Win32 FindFirstChangeNotification function with a table of files and their states. Regards, Michael

RE: any function to get the last modified user name

2003-07-01 Thread Michael Erskine
control over how the file is modified then you can save some extra data in the file itself or in an associated file. Regards, Michael. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: pound sign trouble

2003-07-07 Thread Michael Higgins
Allegakoen, Justin Devanandan wrote: Peter, I was playing around with this earlier. Heres what I get:- Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Perl\Programsperl -e print ord(''); 163 C:\Perl\Programsperl -e print chr(163); C:\Perl\Programsperl

Re: pound sign trouble

2003-07-08 Thread Michael Higgins
$Bill Luebkert wrote: [snip ugly code and verbiage] Or just put it all in a RE and substitute: foreach ... $line =~ s/([\d,]+)/{ my $tmp = $1; $tmp =~ s#,##g; $_ = sprintf '$%.02f', $tmp * $rate }/e; print ... } or maybe more readable: $line =~ s#

CGI Script permissions to call scripts on another server

2003-08-10 Thread Rafala, Michael
that Everyone group there. Is there a way to have my CGI script log on as a specific user (with permissions) before making the system() call? Or some other solution? Setting an Apache ScriptAlias doesn't seem to help. I'm afraid I'm not much of a network guy, so I hope this makes sense. Michael

Re: newbie hlelp!

2003-09-16 Thread michael higgins
[EMAIL PROTECTED] wrote: Thank you all for replying, I am using the code below and I am still unable to get the correct date code opendir (DIR, $server\\c\$\\sys\\data\\LOG\\updates); @allfiles = readdir(DIR); #print(, readdir(DIR)); #closedir(DIR); foreach $f (@allfiles) {

Perl Script Running Silent InstallShield (Yet Again)

2003-09-19 Thread Michael Cohen
/Tk program ends. (???) Any help would be greatly appreciated! Regards, Michael Cohen ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Perl Script Running Silent InstallShield (Yet Again)

2003-09-24 Thread Michael Cohen
Jan, If you wait long enough, does InstallShield continue? No. I have waited upwards of 20 minutes before killing the Perl/Tk program, only to have the InstallShield program pick up immediately afterwards. :-( Regards, Michael Cohen ___ Perl

Re: Tk main window draw problems.

2003-09-30 Thread michael higgins
[EMAIL PROTECTED] wrote: Guys, When I start my script the following happens... The main window appears in a random location, smaller than when fully populated. It resizes to accomodate all it's widgets. It jumps to the centre of the screen. I want it to appear complete in the centre of the

RE: Capturing the output of a sytem() command

2003-10-06 Thread Michael Genovese
Title: Capturing the output of a sytem() command You might just want to try back-ticks : my @Results = `cmd`; -Original Message-From: George Gallen [mailto:[EMAIL PROTECTED]Sent: Monday, October 06, 2003 10:40 AMTo: [EMAIL PROTECTED]Subject: Capturing the output of a

Re: HTML::Parser

2003-10-16 Thread michael higgins
[EMAIL PROTECTED] wrote: I don't know why this error still comes up? I got all these files properly installed in my perl lib directory. I'm stuck with this. Can some one help me resolve this please? Maybe you need to check for the missing 'loadable objects'. Look for loadable objects under

RE: Generating email in different languages (Net::SMTP and Simplified Chinese)?

2003-10-23 Thread Michael Krygowski
. Not sure, so might be worth researching a little. Hopefully that may help get you going (assuming you haven't already come across these). - Michael -Original Message- From: Bullock, Howard A. [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 6:16 AM To: '[EMAIL PROTECTED

Re: disable STDERR

2003-10-27 Thread michael higgins
[EMAIL PROTECTED] wrote: hi how do i go about disable-ing STDERR from a script completly, eg. warnings, dies, problems etc. open STDERR, /dev/null/; -- mike higgins ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe:

RE: Registry Updates Not Taking

2003-10-28 Thread Michael Cohen
is at the very beginning of the code. :-( Glad my code did have a positive outcome. LOL. Would anyone else like to try to solve this puzzle? Regards, Michael Cohen

RE: Help with Apache on Win32

2004-02-03 Thread Michael Krygowski
Michael, Go here: www.sysinternals.com Download the Process Explorer tool. It's invaluable and great!! :-) They have lots of other great tools which are worth the download as well. Hope that helps. - Michael Krygowski -Original Message- From: Michael C. Davis [mailto:[EMAIL

read/write windows midi ports?

2004-02-27 Thread michael higgins
Does anyone know of a way to read and write to/from a midi port under windows? I've looked at all the various *MIDI* modules available via ppm, but looking at the documentation for the API, it seems I'd need a hook to something not yet supported in a win32-perl kind of way. Win32::MIDI will

Re: Cannot change directory in SSH session

2004-03-26 Thread michael higgins
Rishi Kaundinya M wrote: Hi Experts, Oops! Not me! I have written the code exactly as you mentioned below in my winows machine. I am getting following error here. Afer the command ls is being sent to the remote unix machine, the program is getting stucked. snip eb96140: Entering

Re: Cannot change directory in SSH session

2004-03-26 Thread michael higgins
Rishi Kaundinya M wrote: Hi Michael, From your mail, I understod that W32Perl package is not useful at this moment. Well, it's not fully compatible to Net::SSH::Perl, but still useful. It is not providing required functionality. It is hanging even I executed a command $ssh-cmd(ls -al

Re: Cannot change directory in SSH session

2004-03-26 Thread michael higgins
Richard Morse wrote: On 26 Mar 2004, at 11:21 AM, michael higgins wrote: The output, however, must be redirected. I don't see how you can grab it directly with this module. If you're going _from_ windows _to_ unix, it seems to work. At least, I've had the following code working for about

Re: small text files give empty socket? -- SOLVED

2004-04-05 Thread michael higgins
Martin Leese wrote: michael higgins [EMAIL PROTECTED] wrote: Hey, all -- [] Small binary files are fine, but no way of reading the file and printing to the socket has worked for the small text (html, etc.) files. -- mike higgins You might want to try: use FileHandle; STDOUT

Re: searching a file for keywords

2004-04-15 Thread michael higgins
Craig Cardimon wrote: I'm searching a text file for keywords. These keywords are stored in an array. First, I read the file into a scalar variable. Then, I search for each keyword, cycling through the array in an outer foreach loop: foreach $keyword (@keywords) The keywords should be in all caps

  1   2   3   4   >