RE: number crunching in Perl ...

2002-08-28 Thread Tillman, James
If I had to do it, i'd probably do it like this: Develop the number crunching algorithm in Perl. Then when I'm satisfied with the result, port it to Assembler (hey, thats actually much easier than most people think). Funnily enough, there's going to be an article in the next issue of

RE: Collections in 'Scripting.FileSystemObject': in works, -Item(...) doesn't -- why?

2002-08-28 Thread Tillman, James
Hi, Jan suggested I post this here. Maybe the first question is why I would need the 'Scripting.FileSystemObject' in Perl, but I have my reasons. I was actually testing the Win32 intellisense in Visual Perl, but found I could write a realistic app. Currently the intellisense works on

RE: How to determine Windows Temp Folder?

2002-08-28 Thread Fernando Madruga
Maybe this can help? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio /base/gettemppath.asp Bye, Madruga -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Tillman, James Sent: quarta-feira, 28 de Agosto de 2002 11:47

RE: Collections in 'Scripting.FileSystemObject': in works, -Item(...) doesn't -- why?

2002-08-28 Thread csaba . raduly
On 28/08/2002 12:00:58 perl-win32-users-admin wrote: Hi, Jan suggested I post this here. Maybe the first question is why I would need the 'Scripting.FileSystemObject' in Perl, but I have my reasons. I was actually testing the Win32 intellisense in Visual Perl, but found I could write a

RE: How to determine Windows Temp Folder?

2002-08-28 Thread Bellenger, Bruno \(Paris\)
That's just right. On my W2K machine, once deleted the TEMP and TMP env vars, the API call fell back on C:\Documents and Settings\mysername\ _ Bruno Bellenger Sr. Network/Systems Administrator -Original Message- From:

RE: How to determine Windows Temp Folder?

2002-08-28 Thread Bellenger, Bruno \(Paris\)
A quick search on Google fetches interesting links on the subject : http://www.google.com/search?q=Win32+API+Help+filebtnG=Google+Search http://www.google.com/search?q=Win32+API+Help+filebtnG=Google+Search Have a look at :

RE: How to determine Windows Temp Folder?

2002-08-28 Thread Tillman, James
That's just right. On my W2K machine, once deleted the TEMP and TMP env vars, the API call fell back on C:\Documents and Settings\mysername\ Strangely enough, the API docs at the link on Microsoft's web site which Fernando posted to the mailing list directly contradict this

[PMX:#] RE: Collections in 'Scripting.FileSystemObject': in works, -Item(...) doesn't -- why?

2002-08-28 Thread csaba . raduly
On 28/08/2002 13:07:51 perl-win32-users-admin wrote: On 28/08/2002 12:00:58 I wrote: Hi, Jan suggested I post this here. Maybe the first question is why I would need the 'Scripting.FileSystemObject' in Perl, but I have my reasons. I was actually testing the Win32 intellisense in Visual

How to find out the Perl build, not the version?

2002-08-28 Thread Smith, Barry
I can get the build version by looking at $], but I'm interested in the actual build version as in 522? Are there any special variable that I can access? Any suggestions on how I can find this apart from doing perl -v and parsing out the build number? This message is for the named person's

RE: How to determine Windows Temp Folder?

2002-08-28 Thread Fernando Madruga
Strangely enough, the API docs at the link on Microsoft's web site which Fernando posted to the mailing list directly contradict this behavior! C'est bizarre! Non, c'est Microsoft... :) Later, Madruga ___ Perl-Win32-Users mailing list

AMENDMENT: How to find out the Perl build, not the version?

2002-08-28 Thread Stovall, Adrian M.
From perlvar: $PERL_VERSION $^V The revision, version, and subversion of the Perl interpreter, represented as a string composed of characters with those ordinals. Thus in Perl v5.6.0 it equals chr(5) . chr(6) . chr(0) and will return true for $^V

Disregarding Folders In A Directory

2002-08-28 Thread Barlow, Neil
Hi all, I am a newbie to perl... I am using the opendir command to open up a directory and do some processing of the files contained within the directory. But the problem is that there are various folders which are being added into the directory. Is there a way to disregard the folders and

RE: AMENDMENT: How to find out the Perl build, not the version?

2002-08-28 Thread Smith, Barry
PERL_VERSION gives the version, but not the build number e.g. 5.00503 rather than 522 I'm looking for the 522. Thanks -Original Message- From: Stovall, Adrian M. [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 14:34 To: [EMAIL PROTECTED] Subject: AMENDMENT: How to find out

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

RE: How to find out the Perl build, not the version?

2002-08-28 Thread Smith, Barry
Both give a build number. I'm just trying to see if there is a more elegate way of finding this information out if you are in a perl script. Any other suggestions? -Original Message- From: Stovall, Adrian M. [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 14:28 To: [EMAIL PROTECTED]

RE: Disregarding Folders In A Directory

2002-08-28 Thread TC Winquist
Here's how I get all the files of a directory. I'm sure there are a hundred ways of doing it: my @files; opendir(DIR,$dir) || die $!; #Get only files while (defined(my $file = readdir DIR)) { #filter out dot directories and zero-size files (i.e. regular directories) push @files,

Seeking Advice: Client - Server printing via ole

2002-08-28 Thread Matthew J. Salerno
Hi all, I need some advice. I am working on a project, and I am looking for the best way to do it. This is all on an internal lan, running Windows 2000 Server with Apache Http. I wrote a perl cgi interface that allows employees to search a mysql database. All of the returned records are

Hard coded replacement for Win32::OLE::Variant VT_BOOL?

2002-08-28 Thread Steve Combs
How can I hard code a variant boolean True or False without using Win32::OLE::Variant? I use Perl quite a bit under ASP where the default scripting language is VBScript. :( In many cases, I'll want to set a flag in a session variable or return a boolean value. Rather than calling in all of

Re: Perl basics question ?

2002-08-28 Thread Carl Jolley
On Wed, 28 Aug 2002, Alan Dickey wrote: Andre: #5 : aha @input = (ONE, two, THREE,Four ,fiVe); map {s/^\s+//;s/\s+$//;} @input; # couldn;t resist trimming trailing blanks, too @output = map {lc} @input; print result 5 : , join(,,@output), \n;

RE: 'required' problem

2002-08-28 Thread Carl Jolley
On Wed, 28 Aug 2002, Richard Latshaw wrote: Can't locate fluffysearch.config in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at c:\inetpub\wwwroot\gabarie\cgi-local\fluffymkindex.pl line 12. why is the script not looking in the same directory that its in? But it is looking at the