-Original Message-
From: Oliver Wayne Contr AETC/DOXD [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 8:13 AM
To: Perl-Win32-Users (E-mail)
Subject: How do I get the Password Age on Unix from Windows NT
I am trying to write a script in Perl that will query the
I just upgraded to ActivePerl 5.6.1 Build 633 from ActivePerl 5.00503. I
was using the file operator -e to check if a file existed this use to work
fine. But since I up graded the code does not work. Has anyone ran into
this problem and what is the fix. The code is as follows.
# common screen
Title: Update Info on retrieving password age from Unix
I am trying to write a script in Perl that will query the password age of my Unix users and then lock their NT account if the password age on Unix is over a certain limit. I can handle all the NT code, but I am not sure how to retrieve
Hi,
how can i install XML::libXM XML::libXSLT under Activestate Perl for Windows ?
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Chaps,
I've just got my first proper script running nicely, but it's text based
and runs in a dos window.
I assume that there are modules that allow you to make it look cool by
running in it's own window, with boxes for data entry, etc.
Can anyone point me to a good module for a beginner, that
I use PerlTk but there is also Win32::GUI.
Dax
*** REPLY SEPARATOR ***
On 8/20/2002 at 2:36 PM Beckett Richard-qswi266 wrote:
Chaps,
I've just got my first proper script running nicely, but it's text based
and runs in a dos window.
I assume that there are modules that
On Tue, 20 Aug 2002, Alex Wenger wrote:
how can i install XML::libXM XML::libXSLT under Activestate
Perl for Windows ?
We have them at
http://theoryx5.uwinnipeg.ca/ppmpackages/
which can be accessed by setting the repository within the ppm
shell to
If your system is set to use pw_age in the /etc/passwd configuration,
something similar to this may work to get the age of the user's password. If
the pw_age option isn't set, then I'm not sure. This example is for a single
user only; you'd have to do something to iterate over each account.
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;
Another GUI package out there for Perl is WxPerl
(http://wxperl.sourceforge.net/)
I've used Perl/Tk on Windows I don't like it. (haven't visited it lately to
see if there's any new stuff yet)
I've developed a full application with Win32::GUI which I like, but not
portable at all...bummer
So
Andre Warnier wrote:
Message text written by TC Winquist
I decided to save the image to a temporary image file and then display that
using non-perlmagick methods. It just seems to be an unnecessary step I
shouldn't have to take. It works though, so I guess I'll have to live with
it.
Title: Update Info on retrieving password age from Unix
I'm not familiar with what you are trying to do, but if you need to
emulate a login and do stuff as that user, you might want to check out
Net::Telnet or, if it's not 'telnet' that you're after you might
tryIO::Socket.
It works for me on files but not directories and (of course:) -f and/or -d
don't work, which would allow you to check for that possibility, and
prevent it from happening. Which means it has very limited utility because
there's a always a possibility lurking in the code.
Is there any chance a
I prefer Perl/Tk for windows type of applications and
a pretty nice book exists for it, Mastering Perl/Tk
from O'Reilly. However, Win32::GUI and Win32::API are
avaliable if you're unconcerned with multiplatform
support of your application.
Cheers,
Carter.
-Original Message-
Sorry, I also meant to suggest a module such as Net::Telnet to log in to the
UNIX box. Although, if you can use Net::SSH, you're better off running a
secure login session (Telnet sends the login password in unencrypted ascii).
Net::SSH example from CPAN:
use Net::SSH qw(ssh issh sshopen2
Cleaning up some inherited code and I ran into this:
if ( ! $m_rkCfgTable-{Trace} eq true) {
$m_nTraceLevelMin = -1;
return 0;
}
For the life of me, I cannot fathom why this is *not* identical?
unless ($m_rkCfgTable-{Trace} eq true) {
To me, it looks redundant. It's repetitive. It says the same thing over and
over. ;-)
Scot R.
inSite
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Michael D. Schleif
Sent: Tuesday, August 20, 2002 11:23 AM
To: Perl-Win32-Users List Service
Subject:
Is this going to help ? Sorry I did not test.
if ( ! ($m_rkCfgTable-{Trace} eq true)) {
$m_nTraceLevelMin = -1;
return 0;
}
Michael D. Schleif [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
08/20/2002 11:23 AM
Please respond to mds
On 20/08/2002 17:23:11 perl-win32-users-admin wrote:
Cleaning up some inherited code and I ran into this:
if ( ! $m_rkCfgTable-{Trace} eq true) {
$m_nTraceLevelMin = -1;
return 0;
}
For the life of me, I cannot fathom why this is *not* identical?
unless ($m_rkCfgTable-{Trace} eq true) {
Dick,
This is a feature of the OS. All file and path names that do not conform to
the eight dot 3 format need to be surrounded by quotes when invoked in
console commands. The exception is ChDir which will parse the command
either way. For a description of this behavior, type 'CD /?' in a dos
[EMAIL PROTECTED] wrote:
On 20/08/2002 17:23:11 perl-win32-users-admin wrote:
Cleaning up some inherited code and I ran into this:
if ( ! $m_rkCfgTable-{Trace} eq true) {
$m_nTraceLevelMin = -1;
return 0;
}
For the life of me, I cannot fathom why this is *not* identical?
Michael D. Schleif wrote:
[EMAIL PROTECTED] wrote:
On 20/08/2002 17:23:11 perl-win32-users-admin wrote:
Cleaning up some inherited code and I ran into this:
if ( ! $m_rkCfgTable-{Trace} eq true) {
$m_nTraceLevelMin = -1;
return 0;
}
For the life of me, I cannot fathom why this is *not*
Hello,
I've created a module that I want to now pack into a PPD. I
followed the instructions in the ActivePerl documentation,
namely:
1. 'perl Makefile.PL'
2. 'nmake'
3. tar/gzip blib folder into 'CGI-Auth-2.20.tar.gz'.
4. 'nmake ppd'
5. Edit .ppd file CODEBASE tag.
Then, I uploaded the .ppd
Hi,
I've put together a wrapper to all the OLE calls involved in Mailbox
creation (and a few other functions) and packaged them up as Win32-Exchange,
and I wanted to know what you think.
This is purely perl and has no back-end DLLs (except what Win32-OLE uses)...
I would love to hear any
24 matches
Mail list logo