Re: Registering message DLL for Win32::EventLog

2009-06-23 Thread David Dick
On 23/06/09 15:15, Dax T. Games wrote: You could also have used Win32::Eventlog::Message. Much easier, less hassle. If you could post working samples of code I would appreciate it. I never could get the perlmonks linked info to work properly for me. I missed the original email, but

Re: Request for DBD::MS SQL

2007-05-15 Thread David Dick
Try DBD::Sybase. Sybase and SQL Server have a common ancestry and use the same TDS protocol. Ankit Mehrotra wrote: Dear All , I intend to remotely query Microsoft SQL Server (MS SQL) using Perl DBI module. The problems I am facing are : 1. The is no Driver available for MS SQL . 2. The

Re: Quick Q

2006-04-13 Thread David Dick
how about; use DirHandle(); use File::Spec(); use strict; use warnings; my ($directory) = C:\\some\\directory; my ($handle) = new DirHandle($directory); unless ($handle) { die(Failed to open '$directory':$^E); } my ($entry, $path); my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,

Re: Quick Q

2006-04-13 Thread David Dick
$Bill Luebkert wrote: David Dick wrote: how about; use DirHandle(); use File::Spec(); use strict; use warnings; my ($directory) = C:\\some\\directory; my ($handle) = new DirHandle($directory); unless ($handle) { die(Failed to open '$directory':$^E); } my ($entry, $path); my ($dev

Re: Daylight Savings Time

2005-10-31 Thread David Dick
Dirk Bremer wrote: I check certain files' modification dates against a modification date stored in a database for the corresponding file. The files were not modified since they were entered into the database, i.e. the dates should have been equal. At about 01:00 on 10-30-2005, things were a bit

Re: Change in goto behavior

2005-07-13 Thread David Dick
Hugh Loebner wrote: My previous message was attached to the wrong posting. I doubt very much whether there is any occasion where gotos are most appropriate. Please provide an example. Check ot http://www.acm.org/classics/oct95/ Go To Statement Considered Harmful by Edsger W. Dijkstra

Re: security question on someones code

2005-07-11 Thread David Dick
Richard Morse wrote: On Jul 11, 2005, at 4:16 PM, lorid wrote: Just curious I found thisline in a sample perl program (which created a simple web page) line: delete @ENV{'BASH_ENV', 'CDPATH', 'ENV', 'IFS', 'PATH', 'SHELL'}; # For security. could someone tell me if I should include this

Re: Does Win32::Perms $PermsObj-Remove( $User ) Work?

2005-06-22 Thread David Dick
I'm just starting to do the same sort of thing. I was going to use Win32::FileSecurity. uru -Dave Burris, Celeste Suliin wrote: I am trying to migrate a terabyte of files from Unix to Windows 2003 server. Of course, Windows does not honor the Unix Owner, Group, etc permissions from the tar

Re: Perl-Win32-Users Digest, Vol 16, Issue 31

2005-05-30 Thread David Dick
How are you running the command? Have you tried print STDERR `dir . $sourcedir.$newfile. /b; to see what is happening? uru -Dave Liza Das wrote: To the experts, I have an existing script to unzip encrypted files that I wasn't passing any variables to. I am now modifying it to pass it

Re: Problem with DBI and Test::More

2005-05-09 Thread David Dick
to be updated? uru -Dave David Dick wrote: G'day all, i've been porting an application from linux to see if it would run under windows. i encountered the an error with ActiveState perl 5.8 when using Test::More and DBI. I managed to replicate the problem with DBD::mysql and DBD::SQLite so i

Problem with DBI and Test::More

2005-04-02 Thread David Dick
to be the (in this case) correct value of 1 (or 2), commenting out the 'FetchHashKeyName' parameter and commenting out the fetchrow_hashref loop. Can anyone else replicate the issue? Uru -David Dick test_1.t Description: Troff document ___ Perl-Win32-Users mailing list