Win32 Shortcut?

2007-06-25 Thread Michael Higgins
I can't seem to find win32::shortcut... I'm assuming some other ppm-available module now has this feature, but I haven't found it yet. Anyone have a suggested solution? Cheers, -- . . . . . . . . .. ... . . .``. .`. .`. . . .` . . .

RE: control characters in perl

2007-06-19 Thread Michael Higgins
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jagdish eashwar Sent: Tuesday, June 19, 2007 8:38 AM To: perl-win32-users@listserv.activestate.com Subject: control characters in perl Hi, Do word processors insert any character for word wraps

Re: Probably need help with a hash to do this

2004-11-10 Thread michael higgins
steve silvers wrote: I have no idea how to do this. I have tens of thousands of lines in a text file that houses numbers for internal purposes. There are usually 20 on a line, with a range of (01 - 80). Example: my @data = ( '08|10|13|16|19|22|28|32|33|37|41|46|47|50|51|52|53|55|71|76',

Re: Formatting seconds help

2004-11-02 Thread michael higgins
[EMAIL PROTECTED] wrote: Does anyone have a simple routine or a way that I can format my seconds. Say I have: $seconds = '3600'; I want the output to say 1 hour $seconds = '5567'; I want the output to say 1 hour 54 minutes and 64 seconds Something like that that will break down the amount of days,

DB_File and Storable glitch??

2004-10-24 Thread michael higgins
List folks -- I wanted to tie an array to a file and store references. I want the data available to the next session, so I need Storable, or something like it. I do this with hashes all the time, but never with an array. What I found is that it didn't work as I expected it would. I looked a

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

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: 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

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: 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: 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: 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: 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) {

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#

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: 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: 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

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: 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: 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: 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: ,

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: 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: 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: 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: 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 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