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
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 =
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
-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
On 13 April 2012 08:37, Ashley Hoff ah...@dataaction.com.au wrote:
**
Howdy Fellow Win32 Perl users.
At the moment we are in the process of modding a few file munging app’s
to make them Cross platform – this means taking the existing Perl from
our Unix based servers, making them compatible
On 25 October 2011 13:08, Kanhaiya Prasad kpra...@aptaracorp.com wrote:
Hi
Here is the very good approach to create directories as well recursive
directories.
use File::Copy;
mkdir c:/abc/def/xyz;
(It will create all 3 directories and subdirectories as well)
---Kanhaiya
You
On 19 September 2011 10:20, Edwards, Mark (CXO) mark.r.edwa...@hp.comwrote:
I have a simple Win32::GuiTest example where I find a Notepad window, print
its handle and title and then send some keys to it. When I open Notepad
and the run the script I see...
4915356: Untitled - Notepad
On 4 January 2011 13:58, Kanhaiya Prasad kpra...@aptaracorp.com wrote:
Hi
Could anyone tell me that how to resolve below mentioned error showing during
execution of my script which uses Module Win32::FileOp 'ShellExecute'.
Use of uninitialized value in subroutine entry at
On 3 April 2010 22:21, Brzezinski, Paul J paul.brzezin...@hp.com wrote:
I should have stated that I did first try to download this module – it’s
missing from the Activestate repository. So I downloaded the source and
attempted to compile and it’s _broken_. It hasn’t been updated in several
2009/12/16 Jon Bjornstad j...@logicalpoetry.com
Esteemed Perl-Win32 people,
How do I send a plain ASCII text file to the default printer
from a Perl program?
Win32::Printer has been discontinued (or so says CPAN)
and as far as I know it is not available from activestate.com for Perl
5.10.
2009/11/16 Daniel Burgaud burg...@gmail.com
Hi,
my $line = Unconfirmed;
I need an RE that will give me a TRUE value if the string is 2~8 chars
long.
otherwise, it gives FALSE;
I tried
if ($line =~ /\S{2,8}/) {
return 1;
} else {
return 0;
}
However this does not work.
I
Hi,
I want to write
use Win32::OLE::Const 'Microsoft PowerPoint';
instead of
use Win32::OLE::Const Microsoft PowerPoint 9.0 Object Library';
... on one machine the first Notation works correctly on the other machine
not, I get
an error Message when Loading the TypeLib. Can
2009/9/29 armin.no...@aktion-mensch.de:
Hi,
I want to write
use Win32::OLE::Const 'Microsoft PowerPoint';
instead of
use Win32::OLE::Const Microsoft PowerPoint 9.0 Object Library';
... on one machine the first Notation works correctly on the other machine
not, I get
an error Message
2009/9/19 Spencer Chase spen...@spencerserolls.com
Greetings Perl-Win32-Users,
I have been trying everything I can think of and nothing works. I have a TK
application that uses getopenfile. The problem is that you can select a file
in the browser window by either clicking the file and then
Very quickly - the Perl Cookbook has a number of working examples in Chapter
17
Just in
From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Greg
Aiken
Sent: Wednesday, 22 April 2009 7:36 AM
To:
Not at all. In fact I concede. This largely depends on the user's locale.
Just in
2009/3/27 Chris Wagner wagn...@plebeian.com
Sorry for being contrarian here, but this is wrong. Unconditionally
blowing
away control characters is not the right way to do anything. Using Perl's
own encoding
-8-
forgive my naivety here but ive never had to use Unicode before.
I learned many years ago how to open a simple ascii file using perls open.
open (IN, infile.txt);
then read records out of the ascii file.
while ($rec = IN) {
Jan,
Thanks.
The Win32 modules are invaluable, FileSecurity and Lanman even more so
(here's anticipating good feedback to Howard's other e-mail).
Cheers
Just in
2008/8/21 Jan Dubois [EMAIL PROTECTED]
I've fixed this problem for Win32-FileSecurity-1.08:
2008/8/11 Brian Raven [EMAIL PROTECTED]
Tobias Hoellrich wrote:
Try:
$|++;
to unbuffer STDOUT.
Hope this helps - Tobias
Not quite. pedant_mode That variable activates autoflush, which isn't
quite the same as unbuffered output, on the currently selected
filehandle, which may
, it would help me to understand perl better if you could
explain exactly why the code would not run as I originally coded it.
why does including strict pragma and predeclaring the variables help in
this case?
--
*From:* Justin Allegakoen [mailto:[EMAIL PROTECTED
Carlos Diaz wrote:
Help me please !
Hello, I have some Excel files, I want to pass them to only one file, using
win32::ole and perl . ( not cell by cell , loss the format).
Thanks a lot
I'm sure you want this to work on multiple files and sheets but the
following will get you going:-
--8---
Foo JH wrote:
One thing I like about Perl is that you don't have to use the
forward-slash '\' just because you're writing for the Windows platform.
--8---
\ is a backslash
/ is a forward slash
With reference to the above are you
-8---
Hello! When I try to download the Net::SFTP it downloads a package called
Net::SFTP-Foreign(see Below). How do I go about getting the Net::SFTP using
ppm?
-8---
Its been a while since I tried so things may have changed -
---8-
You know, I seem to remember that it wasn't strict safe (from a long
time ago). Since you think it is, please accept my apologies (Because
you are the expert when it comes to Win32-OLE, and I just use it).
---8-
You probably meant that Win32::OLE is not _thread_
---8
I'd like to figure out how to access package variables at runtime. In
other words, I may have a variable $class that contains the classname,
and I want to set a value to the package reference by this variable.
It'll be something like:
$class::Message = It works;
Justin Allegakoen wrote:
---8
I'd like to figure out how to access package variables at runtime. In
other words, I may have a variable $class that contains the classname,
and I want to set a value to the package reference by this variable.
It'll be something like:
$class
8--
I'm trying to truncate a number, 10.25233006477356, to 6 decimal points. E.g.
10.252330.
I don't need to round the number, I just want it to drop everything after the
6th decimal point. This should be easy, but I'm drawing a blank.
8--
27 matches
Mail list logo