On Wed, 22 Oct 2003, Sisyphus wrote:
> I'd actually be interested to hear from anyone who has built perl using
> a more recent gcc/mingw . from where, precisely, was the compiler
> obtained; what fiddling was necessary and what perl source was used.
I used
MSYS 1.0.8(0.46/3/2) 2002-09-07
Edward Peschko wrote:
>
> well, that helps. Can you install all of the Win32::Process, etc,
modules based on it?
>
I think that any pure perl modules that simply 'use Win32::API;' will
work fine, though of course I have no first hand experience of
Win32::API on Cygwin.
But most, if not all, of
On Tue, Oct 21, 2003 at 10:00:34PM -0500, Taylor Lewick wrote:
> Jeez, you just said what I have been thinking, which is again why I hate
> Windows so much...
> But beyond that, have you found a good way to cat files and do grep? I
> think the dos command find works for grep, but havent gotten aro
Hi David,
Assuming that i understand correctly and you want to get the object
from the AD using specified credentials, then you can use OpenDSObject
as per below...
Note that where LDAP: (or GC:) is passed, the string for some reason
must be uppercase.
Good luck,
Simon
# Get the object (w
On Wed, Oct 22, 2003 at 12:26:08PM +1000, Sisyphus wrote:
> Edward Peschko wrote:
>
> >
> >
> >No, what I want to do is use *cygwin*'s perl with Win32::API calls.
>
> I looked a little harder and found that Daniel Risacher
> <[EMAIL PROTECTED]> is one guy who's written a Cygwin port of
> Win32:
Edward Peschko wrote:
No, what I want to do is use *cygwin*'s perl with Win32::API calls.
I looked a little harder and found that Daniel Risacher
<[EMAIL PROTECTED]> is one guy who's written a Cygwin port of
Win32::API - which basically involves rewriting the assembly code in
API.xs. (That's
List,
I know there's exe2perl, but a while back I remember there being a
thread with a link to a C program that can extract Perl from an
executable.
Anyone know where it is?
Thanks
Just in
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubs
Joseph Sheehan wrote:
> I have a question in the spirit of there's more than one way to do it.
> I have an answer, but I'm looking for a more "slick" answer, i guess.
>
> Often when I look for various strings within a given line, I'm looking
> to print not only the entire line to a file, but
I'll just touch base on a few points here instead of trying to insert my replies into
a morass of angle brackets. :P
> yes, but what if you want to use commands that are native to the platform, not
> perl analogs? And what if you want to do:
"Native" almost invariably means "non-portable". Thi
1. open the file for read
2. read one line
3. use $newstring = substr($line, 20) to remove the first 20 characters
4. check if your 4 character string match /^XWYZ/
5. you can separate the $newstring if you want to into 2 substrings
$substringA = substr($newstring, 0, 4)
$substringB = su
Edward Peschko wrote:
> No, what I want to do is use *cygwin*'s perl with Win32::API calls. If cygwin
> compiled
> natively, then one would have a lot more flexibility; no need for a non-free
> compiler,
> no pathing issues, ability to download and compile the modules I want instead of
> going
I have a question in the spirit of there's more than one way to do it.
I have an answer, but I'm looking for a more "slick" answer, i guess.
Often when I look for various strings within a given line, I'm looking
to print not only the entire line to a file, but also the previous
line. I usual
Ken McNamara wrote:
> Joseph -
>
> Foreach line, split on the 4-digit code. If you have an @array[1]
> result then cat the code with the @array[1] result and save it.
Or if you really want a regex:
use strict;
foreach (
"abcdefghijklmnopqrxyz01232456789\n", # bad one
"abcdefghijkl
On Tue, Oct 21, 2003 at 07:26:05PM -0400, Hanson, Rob wrote:
> > 1) If I choose cygwin, the unix development tasks
> > go easier. But the Win32 stuff, in particular
> > Win32::API, etc. is not compiling
>
> It won't compile in cygwin, but there is no reason why you can't use
> ActiveState's Perl
Joseph -
Foreach line, split on the 4-digit code. If you have an @array[1]
result then cat the code with the @array[1] result and save it.
--
KenMc - [EMAIL PROTECTED]
http://www.grandcanyonhiker.com
See our DVD -
'Hiking the Grand Canyon - The Corridor Trails'
Jos
> 1) If I choose cygwin, the unix development tasks
> go easier. But the Win32 stuff, in particular
> Win32::API, etc. is not compiling
It won't compile in cygwin, but there is no reason why you can't use
ActiveState's Perl with Win32::API under cygwin. Install it outside of
cygwin, then call it
hey all,
I've been trying to get a consistent perl on win32 experience going here, where by
consistent I mean:
1) being able to develop unix applications on win32
2) being able to develop win32 applications on win32
both using perl.
However, in doing so, I'm finding that the p
17 matches
Mail list logo