RE: Disregarding Folders In A Directory

2002-08-28 Thread Gould, Kevin
if (not -d $filespec) { print "$filespec: I am a file\n" } -Original Message- From: Barlow, Neil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 8:49 AM To: [EMAIL PROTECTED] Subject: Disregarding Folders In A Directory Hi all, I am a newbie to perl... I am using the opend

RE: Regualr Expression Again...

2002-09-11 Thread Gould, Kevin
It almost looks like you're working on a backslash, not a forward slash - which did you intend? I presume that's all you want to match, you are ONLY looking for the forward slash on the end of the line? $scandir=~/\/$/; or my preference, $scandir=~!/$!; -Original Message- From: Barl

RE: Active directory madness - where is the phone number and the emai l

2002-10-02 Thread Gould, Kevin
I've attached what LDAP gave me for a test user's attributes on a test script I was playing with the other day for your reference. The list will likely block it, but it should reach you directly. -Original Message- From: Steven Manross [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October

RE: Win32::Job/Process - maintaining constant number of sub-processes

2002-10-04 Thread Gould, Kevin
Be sure and wait against your sub processes.  When they’re done, that will ensure they clear.  Disclaimer: I cut this out of something I wrote and cleaned it up for consumption so I may have missed something here and there in the cleanup.   Something like this:   foreach $Something ($So

RE: Win32::AdminMisc problems

2002-10-10 Thread Gould, Kevin
I'd check permissions on the directory. Likely you're not running the program as the same id interactively and through the webserver. Use www.sysinternals.com filemon to monitor inetsrv.exe to see if you're getting permission denied. -Original Message- From: Krishna, Hari [mailto:[EMAIL

RE: Gui rip off.

2002-10-23 Thread Gould, Kevin
If you look under your Activestate install, there's an Eg/tk directory. Run Widget.bat I think you'll find it has more than ample to keep you busy. -Original Message- From: Beckett Richard-qswi266 [mailto:Richard.Beckett@;motorola.com] Sent: Wednesday, October 23, 2002 3:33 AM To: Per

Authenticated user retrieval when running under IIS Anonymous user

2002-10-23 Thread Gould, Kevin
I have a boggle.   IIS 5/Perl cgi script   I have: - Created a virtual directory which points back to the IIS server via UNC (this triggers the running process to allow network operations off the server as a side effect) - NTFS Secured the directory to a select list of users - Enable

RE: Win32::AdminMisc -- Any risks??

2002-10-31 Thread Gould, Kevin
Put down the keyboard and step away from the computer and I'm sure you'll be safe :-) You have nothing to worry about as a consequence of the module in and of itself. There is no particular reason that AdminMisc would blow anything up any more than any other arbitrary application or modul

RE: what does exit(n) give you

2002-11-18 Thread Gould, Kevin
I believe the proper usage for "if errorlevel" is If errorlevel 3 echo yes You only test equivalence when evaluating it as a variable. Unless it works both ways now. -Original Message- From: Edwards, Mark (CXO) [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 8:17 AM To:

RE: Perl Recursive

2003-01-03 Thread Gould, Kevin
-Original Message-     Yeah   well this is my home directory /home/xcomb     what i would like to do it to go all the subdirectories of that home directory that has many folders and in each folder to create Trash folder untill it reaches the end of subdirectory    i know

RE: Update Windows 2000 Time via Internet-NTP-Server

2003-03-25 Thread Gould, Kevin
C:\WINNT>net time /setsntp:ksovepdmc005 The command completed successfully. C:\WINNT>net time /querysntp The current SNTP value is: ksovepdmc005 This sets your time server and you shouldn't have to worry about it anymore. You just need to hunt down a reliable time server that you can reach. Ke

RE: Array within an array...? I'm confused

2003-12-19 Thread Gould, Kevin
Read through   perldoc perldsc - it's an excellent way to learn how this works. From: Brian Gibson [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 4:27 PMTo: [EMAIL PROTECTED]Subject: Array within an array...? I'm confused Hello all,I am having trouble understanding some program