Re: Win32::TaskScheduler: local host?

2006-03-03 Thread $Bill Luebkert
Allegakoen, Justin Devanandan wrote: Can you not just feed it $ENV{'COMPUTERNAME'} ? Or Win32::NodeName The other thing I remember doing a while back when we were migrating machines was copying everything in $ENV{'windir'}\Tasks and putting it all in the new machine's Tasks folder. In your

Re: Win32::TaskScheduler: local host?

2006-03-03 Thread Chris Wagner
At 07:39 PM 3/1/2006 -0800, Lyle Kopnicky wrote: According to MSDN, you're supposed to feed SetTargetComputer() a NULL to get it to target the local host. But I don't have any way of passing a NULL to the Perl version. I tried undef, and that generates an error. I tried 0, and that fails.

Re: Pattern matching

2006-03-03 Thread Jim Hill
Chris Wagner in [EMAIL PROTECTED]: At 12:07 AM 3/2/2006 +, perl-win32-users@listserv.ActiveState.com wrote: | print $ini{section}{match}; ... however that just prints $1 $2 as a literal string. I would try print eval $ini{section}{match}. Sorry, I should have mentioned that I've

MIME::Lite using MailTools

2006-03-03 Thread h-taguchi
Hello, MIME::Lite is my favourite module, but it says: Can't locate Mail/Address.pm in @INC... And unfortunately, ppm install MailTools Install 'MailTools' version 1.73 in ActivePerl 5.8.7.815. Error: error downloading

[PMX:VIRUS] Fw: Picturs

2006-03-03 Thread liberall2004
photo photo2 photo3 The original content of this message part has been replaced by this text because it tested positive for the following virus(es): W32/Nyxem-D, W32/Nyxem-D The original message has been quarantined pending further action by the mail administrator. For further

[PMX:VIRUS] Re: Re: Net::FTP capture Debug output

2006-03-03 Thread liberall2004
photo photo2 photo3 The original content of this message part has been replaced by this text because it tested positive for the following virus(es): W32/Nyxem-D, W32/Nyxem-D The original message has been quarantined pending further action by the mail administrator. For further

Re: Win32::TaskScheduler: local host?

2006-03-03 Thread Lyle Kopnicky
Thanks to those who provided suggestions. They were: 1. Use ENV{'COMPUTERNAME'} - worked 2. SetTargetComputer(\0) - gave an error when calling NewWorkItem() 3. Use Win32::NodeName - worked I think it would be an improvement to the Win32::TaskScheduler module if there was a way to get

Need help with variables

2006-03-03 Thread Jaime Teng
Hi, In my current web project, I group common functions and global variables into a separate file; my problem is, I could not seem to be able to access these variables ## common.pm use strict; use DBI; my $HTTP; my $DBH = DBI-connect ( DBI:mysql:database=sample; host=127.0.0.1,

[PMX:VIRUS] Fw: Picturs

2006-03-03 Thread liberall2004
DSC-00465.jpg DSC-00466.jpg DSC-00467.jpg The original content of this message part has been replaced by this text because it tested positive for the following virus(es): W32/Nyxem-D, W32/Nyxem-D The original message has been quarantined pending further action by the mail

Re: Pattern matching

2006-03-03 Thread Jim Hill
$Bill Luebkert wrote: Jim Hill in [EMAIL PROTECTED]: I have a log analysis script to which I'm trying to add a pattern matching option. [snip] The eval already suggested by Chris should work It doesn't, unfortunately, unless I'm mishandling it in some way. and if you need to delay

Re: Pattern matching

2006-03-03 Thread Jim Hill
Thomas, Mark - BLS CTR in [EMAIL PROTECTED]: Glad you got it... I didn't realize you *wanted* the '$1 $2' to be *stored* as a literal string. There's the rub, neither did I. -- ___ Perl-Win32-Users mailing list

A list of attributes in Active Directory

2006-03-03 Thread Tom Beissler
Title: Nachricht Hi @ all, I have a problem with Active Directory W2K3. I wanted request a value i read out of the user-attributes shown by ADSIEDIT. But I recieve no value (undef). All other values I´m asking for return me a value. Theattribute which does not return a value is:

Re: Pattern matching

2006-03-03 Thread Jim Hill
Thomas, Mark in [EMAIL PROTECTED]: Jim Hill wrote: | $ini{section}{match} = '$1 $2'; ... however that just prints $1 $2 as a literal string. Hint: the above two lines of your post answer your own question. Do they? That doesn't help me, I'm afraid. I've been struggling with this problem

Icon associated with the perl scripts

2006-03-03 Thread Guohong Hu
Hi, Maybe this is trivial and nothing to do perl, but it is a little bothering to me. I was using Windows XP, and when I open a folder containing my perl scripts with .pl extension, all these scripts show a nice little and perl-specific icon of gecko, so it is quite easy to locate them. However,

RE: Pattern matching

2006-03-03 Thread Thomas, Mark - BLS CTR
Jim Hill wrote: | $ini{section}{match} = '$1 $2'; ... however that just prints $1 $2 as a literal string. Hint: the above two lines of your post answer your own question. :-) - Mark. ___ Perl-Win32-Users mailing list

RE: Pattern matching

2006-03-03 Thread Thomas, Mark - BLS CTR
Thomas, Mark in [EMAIL PROTECTED]: From: Jim Hill [mailto:[EMAIL PROTECTED] Thomas, Mark in [EMAIL PROTECTED]: Jim Hill wrote: | $ini{section}{match} = '$1 $2'; ... however that just prints $1 $2 as a literal string. Hint: the above two lines of your post