Memory leak? What memory leak? ;)
Remember, guys, this is open source..feel free to patch it and submit
the fix. Hint, hint.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 10:40 AM
To: [EMAIL PROTECTED]
Subject: RE: Win2K User
Title: Message
I posted
this to the Win32-Users group already, but possibly some else will have seen
this issue.
Issue
1
I have a situation
where two processes have to be created from the same script. I'm using
Win32::Process::Create to do this. The first app, (let's call it 'The Hel
The only 'CASE' structure in PERL (which is a gripe of mine as well) is
with the 'SWITCH' statement.
The PERL base documentation has examples as well as the PERL Black book.
I think even the PERL for Dummies has it, but I'm not suggesting
anything with that.
-Original Message-
From: Ail
Ok, I looked up some documentation and found something that might work. The
only problem is I'm unfamiliar with the particular task that is described in
the docs. Here is what it says in the docs...
-
A totally different approach is to create a hash of function
references.
my %comma
I seem to recall that the backup API only backs up to that server's local drive, not
the local drive that your script is running on. So the
"C:\\mike\\$myServer\\$eventLog" folder may need to pre-exist on the remote system.
Does this ring a bell to anyone?
-Original Message-
From: Glen
I need a little help with the libwin32 Win32::EventLog module, please. My
version of libwin32 is 0.18 My version of Perl is 5.6.1 build 531 on
Windows 2000 Pro.
Using the example #2 script right off of the CPAN documentation page
http://theoryx5.uwinnipeg.ca/CPAN/data/libwin32/EventLog/EventLo
I had attempted to use it in a recursive ACL collection subroutine. It refuses to
release memory, which becomes a problem on large file systems. I posted a few times to
this list before giving up on it. The only solutions were a) call Win32::Perms from a
separate program - guaranteed memory rel
My only beef with Win32::Perms so far is that the recurse method could stand
to be rewritten to work more intuitively.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 7:40 PM
To: [EMAIL PROTECTED]
Subject: RE: Win2K User Collection
I think that if you look on CPAN you will find a module that emulates that
kind of structure.
http://search.cpan.org
-Original Message-
From: Lanteigne, Bob P. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 8:28 PM
To: 'Ailes, Kevin'; Perl-win32-admin list
([EMAIL PROTECTED
perldoc -q case
-Original Message-
From: Ailes, Kevin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 1:20 PM
To: Perl-win32-admin list ([EMAIL PROTECTED])
Subject: Perl Case statement
Way back when I was programming on unix in various shells, I remember a
function that was
Way back when I was programming on unix in various shells, I remember a
function that was called "case". It allowed me to execute a set of commands
depending on some input values.(it basically let me set up a menu system for
specialized scripts) I don't remember the exact syntax, but I am lookin
I have his book, and I'm not buying the second one unless he fixes the memory leak in
Win32::Perms
hint, hint
;-)
-Original Message-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 1:33 PM
To: 'Steven Manross'; Hornyak, Douglas;
[EMAIL PROTECTED]
Subje
And don't forget to pick up a copy of dave roth's Win32 Perl Administrator's
Handbook (I'm not sure if I got the name exactly right, check out
http://www.roth.net)
-Original Message-
From: Steven Manross [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 7:24 PM
To: '[EMAIL PROT
I've been charged with putting together a "Brown Bag" session for a
group of application people on what Perl is and what it does for me as
a System Administrator and what it might do for them. Anyone know of a
place to get some good information to help put this together. Most of
these people ha
Win32::OLE..
There are tons of examples to search through on Activestate's mailing list
archive site.
Check it out!
http://aspn.activestate.com/ASPN/Mail/
Steven
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 10:05 AM
To: [EMA
Where's the perl script running? NT4 or W2K? I've had similar issues with
ADSI and NT4, where an intermittent issue got worse and worse. No matter
what I did to intermittently fix the issue at hand, in the long run, it came
back to haunt me. I've been running fine on W2K ever since I dumped my
Title: Win2K User Collection
I have an NT4 script which uses Win32::AdminMisc::GetUsers but when I point it to AD it only grabs users from the default OUs (Builtin and Users). My organization has moved them, as most have...
Before I go either trying each module or writing ldap queries, can a
Title: RE: Occasional error with $ADobject->CreateMailbox($storeDN);
I
haven't gotten into auditing yet, no. And I haven't tried the sleep
solution because 1) it makes my
skin
crawl, and 2) the required time delay is usually on the order of minutes, not
seconds, and users
are
expecting a f
I would tend to agree with your replication assumption, or some other "NT
isn't updating something quick enough" answer, especially if it's only on
newly created objects (I have a similar problem with Exchange 5.5 - where
creating a scheduled task to re-run the mailbox creation 10 minutes later
al
I use the following code:
#
# Database/ODBC declarations and options
#
$db_user = "iusr_ncdb";
$db_pass = "";
$dsn_name= 'dbi:ODBC:NCDB';
$dbh = DBI->connect($dsn_name, $db_user, $db_pass, {
PrintError => 0,
AutoCommit => 1
});
if(!define
Thanks I thought it was something like that
John Kennedy
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Jeff Urlwin
Sent: Wednesday, August 21, 2002 11:18 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED];
[EMAIL PROTECTED];
[EMAIL PROTECTED
I've got about 27,000 Exchange mailboxes and 49,000 total users
with a 10,000 user turn-over every year. Needless to say I've written
some Perl modules to automate the management of AD, Exchange,
IIS, SQL, etc. And it all works pretty slick 99% of the time...
However recently I've noticed e
Here's more or less how I've been doing it...
$DSN='DSN=MyDefinedOdbc;UID=MyLogin;PWD=MyPassword';
if(!($db = DBI->connect("dbi:ODBC:$DSN"))) {
print "Unable to connect to $DSN\n";
exit;
}
-Original Message-
From: John.F.Kennedy [mailto:[EMAIL PRO
I am having a problem connecting to SQL server 2000 using DBI. Below are my
code and the error message I get could some point me in the right direction.
sub Connect_To_DataBase
{
my ($continue,$dsn);
$continue = $TRUE;
Create_Log("null","Attempting to connect to My Database");
On Tue, 20 Aug 2002, Michael C. Podlesny wrote:
> What is the proper syntax to for division in PERL?
>
> I wrote:
>
> $a = $b/$c*100;
>
> This doesn't work. Does anyone know why?
Make sure that $b and $c are being treated as numeric, not strings. You
can force them numeric by subtracting zero,
I have a script that will move an object from one container to
another... works fine so long as there isn't a comma in the objects
distinguished name... there something different that I need to do when
using Win32::OLE for this case?
For example...
This would move
distinguishedName CN=UMR Co
I'm going to take a guess. I think you want this:
$a = $b/($c*100);
Original message
>Date: Tue, 20 Aug 2002 23:53:43 -0400
>From: "Michael C. Podlesny" <[EMAIL PROTECTED]>
>Subject: How do I divide in PERL?
>To: [EMAIL PROTECTED], perl-win32-admin-
[EMAIL PROTECTED], [EMAIL PROTEC
27 matches
Mail list logo