RE: Easy expression ...

2002-06-27 Thread Brent Dax
Thiago Burin: # In other words, two consecutive # defines the information I # want to extract from the document and have for analysis. # # I have tried: # $string =~ s/(#.*#)//; # $information=$1; # # However, this code extracts everything from the first # # until the last#. # # What can I

Re: How to print Perl message to browser window?

2002-06-27 Thread Paul O'Russa
I realize that, and I have no problem with people using cgi for web stuff. It's just that this *is* a list for ActivePerl-- which is Perl on Windows. And that ships with a component for IIS that lets you program asp using Perl (I consider this a great bonus, 'cause if I had to use VBScript I'd go

RE: Easy expression ...

2002-06-27 Thread Shelton, Mike
Thiago, I used script below to test the regexp to do what you asked. The expression follows, then I listed my test code below. $string =~ m/#(.*)#/; $information=$1; Mike Shelton #! perl -w # use strict; # Get the file with the data my $file = shift @ARGV; die Usage: $0 FILENAME\n if

Re: How to print Perl message to browser window?

2002-06-27 Thread Paul O'Russa
Drop down method lists? You must use Visual Studio or something for that. I use a text editor, so the choice of language is mute. Perl can have some very odd syntax when doing COM objects and such, but we hardly use them. I don't know about the speed difference, but most pages seem to come up

Re: How to print Perl message to browser window?

2002-06-27 Thread perl-dvd
Paul, Ah, I see what your saying now. No, I wouldn't touch IIS if my life depended on it. And with Apache 2.0 for Windows, I don't have to. Actually to tell you the truth, I would not be running a windows machine as a server if I could avoid it (I've got two Linux servers and one Win2K

RE: How to print Perl message to browser window?

2002-06-27 Thread Arms, Mike
Paul O'Russa ([EMAIL PROTECTED]) wrote: Does anyone here actually use asp, or just cgi? I use CGI for light stuff, and Java Servlets and JSP for heavier stuff. I do sometime call Perl programs from my servlets or JSP's when I have something that Perl can do easier. Hell, the things we can do

Re: How to print Perl message to browser window?

2002-06-27 Thread Paul O'Russa
Hey, I wrote some really cool spaghetti code with Basic way back when. Now I can write highly advanced object-oriented Perl modules using nothing but one-liners. ;-) Paul Hemphill, Barry [EMAIL PROTECTED] 06/27/02 12:01PM -Original Message- From: Ron Grabowski [mailto:[EMAIL

Re: FW: How to print Perl message to browser window?

2002-06-27 Thread $Bill Luebkert
Michael B. Wright wrote: file:///C:/develop/Perl/eg/IEExamples/plhello.htm $window-document-write(PerlScript says: Hello, world!); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Vitaly Sinitsin Sent: Thursday, June 27, 2002 9:38 AM To:

Re: How to print Perl message to browser window?

2002-06-27 Thread Dougal Campbell
On Thu, 27 Jun 2002, Paul O'Russa wrote: I realize that, and I have no problem with people using cgi for web stuff. It's just that this *is* a list for ActivePerl-- which is Perl on Windows. And that ships with a component for IIS that lets you program asp using Perl (I consider this a great

Re: How to print Perl message to browser window?

2002-06-27 Thread Paul O'Russa
Each to their own, I guess. :-) Well, the HTML from ASP pages is anything but standard HTML (feel free to Huh? ASP doesn't generate any html by itself. You write your own html and put your PerlScript within that when you need some server side processing (i.e. data from a database). There's

Re: How to print Perl message to browser window?

2002-06-27 Thread Paul O'Russa
Dougal Campbell [EMAIL PROTECTED] 06/27/02 02:10PM Paul, yes some of us out her use PerlScript for ASP at work. I'm stuck using IIS (not my first choice, I assure you), but I was at least able to insinuate Perl in to the environment. If I had to do my server-side scripting in VBScript, I

Re: How to print Perl message to browser window?

2002-06-27 Thread Ron Grabowski
I did some tests recently with ADO vs. the Win32::ODBC module. Using the same query close-as-possible code against a SQL Server 7 database, the ODBC Perl module was about three times faster than ADO. And that was using the faster OLEDB SQL Server driver that MS claims is 10% faster than