Re: Windows Registry

2000-05-27 Thread Kuhnibert
> > Very unelagant. So I would like to know > how to read and write the windows system > registry with Perl > i think you should get win32::registry (or win32api::registry which - afaik - comes with the standard distribution). f.i. the following snippet creates/increases a key which is suppos

RE: Perl Regular Expressions

2000-05-27 Thread Dunnigan,Jack [Edm]
If you are converting a 'string' then you must escape the backslash. Try running this: ##--perl--## while (){ s/\\r/\r/gi; print; } __END__ Here are \r some \r slash \r r's for your \r substitution. # Regards, Jack -Original Mes

Get program name

2000-05-27 Thread Borkur Gudjonsson
I create a exe file out of my script, with perl2exe, and I would like to be able to print out the name of the program. If I make a script, prog.pl, whith this statement: print $0; and create an executable with perl2exe, it prints out the name of the script, as it was when perl2exe created the ex

Using DBI under WinNT and apache

2000-05-27 Thread Cedron Johnson
I am trying to use DBI in my perl script. When I run the script I get the following error message: Can't locate DBI.pm in @INC <@INC contains: C:/Perl/lib C:/Perl/site/lib .> at bigcode1.cgi line 5. BEGIN failed--compilation aborted at bigcode1.cgi line 5. I updated my PPM with the Hotfix for

Installing DBI for use with ACTIVE STATE

2000-05-27 Thread perl
Hi everyone. I am installing DBI-1_13_tar to use on my Windows98 OS. Simply all I have is a zip file called: DBI-1_13_tar Now, I know how to unzip it. The only problem I have is: What are steps involved in getting this module installed and working perfectly with ACTIVESTATE. A

Perl Regular Expressions

2000-05-27 Thread Samuel
Hi. I'm having problems evaluating regular expressions in Perl. Either someone's not being clear enough in the Perl documentation, which I have read through (perlop mostly) now repeatedly during the day, or there is something wrong with me or my OS. I'm trying to convert the string '\r' to the c

Windows Registry

2000-05-27 Thread Mosl Roland
Up to now, I edit at each of my client the autoexec.bat for some set path::base=E:/base and so Very unelagant. So I would like to know how to read and write the windows system registry with Perl Mösl Roland http://www.pege.org Clear targets for a confused civilization http://www.BeingFou

DATA from HTML using STDIN

2000-05-27 Thread KC LO at MAXIS
HI guys/gals,   Is there a way to re-convert characters like ' # ', @, $,%,^,& etc from an HTML page to it's orginal form instead of the '%21% ' ? I'm passing data from HTML page to a MAccess database using ODBC by the following method:-   read(STDIN, $query , $ENV{'CONTENT_LENGTH'});   using

*.cgi file perm err 403 on win98 using personal web server

2000-05-27 Thread albochess
whenever I call my cgi script (clicking the submit button in my html file), I got file permission error from netscape. 403, i believe, It said I do nothave permission to access the script and I need to check web manager service.I am using win 98 and do not know where else to fix. I think I have

Re:Re: it looks simple

2000-05-27 Thread Greg Wardawy
Douglas, Thank you very much for your quick reply. I can see I wasn't clear. I've got the same result but not in such a readable, professional way as yours. But that's still not what I need. I have to print all the lines for which the highest sum of the seventh element for the same fourth eleme

Re: FTP query

2000-05-27 Thread Kuhnibert
> I am using Net::FTP and I want to get multiple files. I refereed > Activestate's PERL documentation and couldn't find any function like mget(). > I have filenames like *.csv, xyz*.csv or xyz*.*1*. How can I get > these type of files? > Do I have to simulate mget using get(), li

RE: Regarding Regular Expressions...

2000-05-27 Thread Dunnigan,Jack [Edm]
If you do a @sessuses = ($line=~m/.[^']\=\s*(Session|Form|QueryString|Application|ServerVariables)\( \"(.+?)\"\)/gi); then your expression should be saved in $1 J. -Original Message- From: Justin Rogers [mailto:[EMAIL PROTECTED]] Sent: Friday, May 26, 2000 11:49 PM To: Perl-Win32-Users

Re: File time and date questions

2000-05-27 Thread Soren Andersen
On 05/26/00, ""Eric Stephenson" <[EMAIL PROTECTED]>" wrote: > .. get the file date and time but for some reason am not getting what I am expecting. > I am running this on NT 4.0 I am not convinced beyond all doubt that there isn't something weird going on with perl dates on WinNT using certain