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,
--
. . . . . . . . .. ... . . .``.
.`. .`. . . .` . . .
-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
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',
[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,
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
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
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
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
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
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
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
[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:
[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
[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
[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)
{
$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#
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
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
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
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
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.
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
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
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 --
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
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';
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
- 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
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: ,
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
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]}
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
not . . .
Just in
[]
cheers --
--
Michael Higgins
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
: 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
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
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
, 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
37 matches
Mail list logo