Win32::FileOp - BrowseForFolder

2004-03-03 Thread gerhard . petrowitsch
Hi all, I'm using the function BrowseForFolder from the Win32::FileOp module. Is there a possibility to use a root folder that is not a CSIDL_... constant (e.g. like c:/perl/site/lib or so)? The user of my application has to browse for a folder multiple times. If he always has to click his way th

RE: Simple text editor under Windows

2004-03-03 Thread Thomas, Mark - BLS CTR
[EMAIL PROTECTED] wrote: > Eclipse (I use 2.1) has an outline window that allows you to jump directly to subs. Hmm... Eclipse seems to be an umbrella name for a rather large project tree. Which specific component of Eclipse are you using--is it the Workbench? A quick glance at the docs shows no me

RE: OT - Searching Multiple Websites

2004-03-03 Thread Mark Thomson
Hi Ewen, Try the google news site at: http://news.google.com This may get you started with what you are looking for. -- Regards, Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: March 3, 2004 9:49 AM To: [EMAIL PROTECTED

RE: OT - Searching Multiple Websites

2004-03-03 Thread Thomas, Mark - BLS CTR
> Sorry for the OT but a quick question, I was > wondering if any of you know of any applications/utilities > (preferably freeware) that will allow me to search specific > websites for keywords which I would define i.e. You can use one of these: http://search.cpan.org/search?query=google&mo

RE: Simple Text editor under Windows

2004-03-03 Thread Hicks, Bob
Title: Message SciTE is excellent. Easy to use and configure. It runs on Windows and Linux. Free as well.   http://gisdeveloper.tripod.com/scite.html     Robert HicksNorthrop Grumman Mission Systems Defense Mission SystemsSystems Administrator (LIMS)304.264.7939 (O)[EMAIL PROTECTED]

RE: Simple text editor under Windows

2004-03-03 Thread John_Wunderlich
The perl plug-ins are at: http://e-p-i-c.sourceforge.net/ Like any IDE, it would be overkill for a single script or file. If you're building modules or a larger app with resource file it makes sense. It also appears to integrate well with CVS (I don't use that, but it should be noted.) JW

RE: Simple text editor under Windows

2004-03-03 Thread Thomas, Mark - BLS CTR
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] wrote: > The perl plug-ins are at: http://e-p-i-c.sourceforge.net/ Ah. Actually, that looks pretty good. I use Komodo now, and I like Komodo, but EPIC looks like it's getting pretty close in functionality. It seems to only lack a debugger :( As much as

Re: 16b hex conversion

2004-03-03 Thread Rob Dixon
Ed Chester wrote: > > > sub d2h16 { > > sprintf "%04.4X", shift; > > } > > I don't believe it. That's amazing. That's not "off-beam", > that's "nail on the head". Is there a way of returning that > as a value instead of printing it? > > ed, not worthy. Quite as worthy as I! But be careful

Re: 16b hex conversion

2004-03-03 Thread eric-amick
> > It looks like you're doing this. Say if I'm way off-beam. > > > sub d2h16 { > > sprintf "%04.4X", shift; > > } > > I don't believe it. That's amazing. That's not "off-beam", > that's "nail on the head". Is there a way of returning that > as a value instead of printing it? sprintf() alrea

RE: Simple text editor under Windows

2004-03-03 Thread Thomas, Mark - BLS CTR
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] wrote: > I use the Perl Dev Kit, which includes PerlApp for > executables, and the Graphical debugger. Both can be > set up and called as tools from Eclipse. If you have > Komodo, do you not already have the separate debugger? Well, it's not really sepa

RE: Win32::FileOp - BrowseForFolder

2004-03-03 Thread Lynn. Rickards
> > > Hi all, > > I'm using the function BrowseForFolder from the Win32::FileOp module. > Is there a possibility to use a root folder that is not a > CSIDL_... constant > (e.g. like c:/perl/site/lib or so)? > > The user of my application has to browse for a folder multiple times. > If he alwa

RE: Simple text editor under Windows

2004-03-03 Thread John_Wunderlich
I use the Perl Dev Kit, which includes PerlApp for executables, and the Graphical debugger. Both can be set up and called as tools from Eclipse. If you have Komodo, do you not already have the separate debugger? John Wunderlich Project Manager, Privacy Ceridian Canada Ltd. 8777, Autoroute Tr

Regex matching of patterns in variables

2004-03-03 Thread Moulder, Glen
hey all, Scratchin' my head on this one for a couple of hours now, looking at camels. sheep and other documentation creatures to no avail. I'm trying to match a pattern that's already (must be) in a variable like so: $var = "coyote"; while () { if ($_ =~ /$var/i) { print $_ . " matches\n

Re: Regex matching of patterns in variables

2004-03-03 Thread Andy_Bach
Works fine here - 'course the '.' in Wile E. is going to match any char so: Wile E. Coyote matches Wile Ej Coyote matches Wile E. Coyotexxx matches using quotemeta or \Q: #my $var = "coyote"; my $var = quotemeta "Wile E. Coyote"; while () { if ( /$var/oi) { print $_ . " matches\n"; }

RE: Regex matching of patterns in variables

2004-03-03 Thread Steven Manross
That works (with the for loop instead of the while)... @vars = ("coyote","fish","Wile E. Coyote"); $var = "coyote"; #foreach () { foreach (@vars) { if ($_ =~ /$var/i) { print $_ . " matches\n"; }; } Outputs: coyote matches Wile E. Coyote matches R U sure it's not the while loop.. I'v

Re: Regex matching of patterns in variables

2004-03-03 Thread John Deighan
At 04:58 PM 3/3/2004, Moulder, Glen wrote: hey all, Scratchin' my head on this one for a couple of hours now, looking at camels. sheep and other documentation creatures to no avail. I'm trying to match a pattern that's already (must be) in a variable like so: $var = "coyote"; while () { if (

Question on settimezoneinformation API

2004-03-03 Thread Raj Manohar
Hello, I need help in the calling the settimezoneinformation Windows API, to change the timezone of a Windows XP system with a perl program. Any examples or sample code is very much appreciated. Thanks _ Create a Job Alert on MSN

RE: Regex matching of patterns in variables

2004-03-03 Thread Wagner, David --- Senior Programmer Analyst --- WGO
hey all, Scratchin' my head on this one for a couple of hours now, looking at camels. sheep and other documentation creatures to no avail. I'm trying to match a pattern that's already (must be) in a variable like so: $var = "coyote"; while () { if ($_ =~ /$var/i) { print $_ . " matches\

System call and release

2004-03-03 Thread alex p
Hello all, I have the following code. It makes a system call to an application. My problem: the script remains active until the application is closed. Is their a way to call the application via the script and release it (meaning, not have the script wait for the application to close before

RE: IIS sesión variables

2004-03-03 Thread Allegakoen, Justin Devanandan
--8<- Is what you are looking for in the environment variables? foreach $key (sort keys(%ENV)) { print "$key = $ENV{$key}\n"; } --8<- Probably not, or at least not when I was trying to access them last week. I was trying to get hold of the log

RE: Regex matching of patterns in variables

2004-03-03 Thread Ted S.
Steven Manross graced perl with these words of wisdom: > R U sure it's not the while loop.. I've never seen that incantation > b4.. But that's not surprising.. I'm not the most traveled perler.. That while loop is how you process a file line by line. -- Ted Schuerzinger The way I see it, y

Re: System call and release

2004-03-03 Thread $Bill Luebkert
alex p wrote: > Hello all, > > I have the following code. It makes a system call to an application. My > problem: the script remains active until the application is closed. Is > their a way to call the application via the script and release it (meaning, > not have the script wait for the a

RE: IIS sesión variables

2004-03-03 Thread Allegakoen, Justin Devanandan
List, I apologise - I got this wrong. The User Id can be found from:- my $id = $Request->ServerVariables('LOGON_USER')->item; The call to VBScript still works, and at the time provided a work around for me to gain the LOGON_USER. As a side note you can fill the ENV associative array as follows

Re: System call and release

2004-03-03 Thread Sam Schinke
Hello alex, If you want your program to terminate immediately, try using "exec". Wednesday, March 3, 2004, 2:07:50 PM, you wrote: ap> < code > ap> $executeNewGuest = system("\"$dir\\application.exe\"") || exit; ap> <\ code > ap> TYIA -- Best regards, Sammailto