RE: Date Conversion

2000-05-30 Thread Thomas_M
[EMAIL PROTECTED] wrote: > > > Does anyone know how to convert dates between Julian and > Gregorian Dates? > I did a Google search ("perl julian gregorian") and found this link: http://theoryx5.uwinnipeg.ca/CPAN/data/DateConvert/Convert.html It took all of 10 seconds. -- Mark Thomas [EMAIL

RE: reading in parameters using the CGI module

2000-05-23 Thread Thomas_M
Kathryn Cassidy [mailto:[EMAIL PROTECTED]] wrote: > > I've got a script which has to read in a variable number of > parameters. > Up 'till now, I've been using the CGI param() function to read in each > variable one at a time. This won't work if I don't know how many > variables there might be

RE: 500 Internal Server Error

2000-05-19 Thread Thomas_M
You're on a Unix or Linux machine, so you need to make sure that /usr/bin/perl is really where your perl executable is, and you should use -w. Did you try executing it from the command line? Also, you should post in Perl-Unix-Users instead of Perl-Win32-Users. -- Mark Thomas [EMAIL PROTECTED] >

RE: help with system command

2000-05-18 Thread Thomas_M
Douglas Wilson [mailto:[EMAIL PROTECTED]] wrote: > > > On 05/18/00, "[EMAIL PROTECTED]" wrote: > > Hi: > > > > How can I (in UNIX) start an xterm and run a command on it > and get back to > > the perl program? I tried the following: > > Try the 'Expect.pm' module. Seeing as this is a UNIX so

RE: Networking

2000-05-16 Thread Thomas_M
#!/usr/bin/perl -w print "Content-Type: text/plain\n\n"; print "Your IP address is $ENV{'REMOTE_ADDR'}\n"; -- Mark Thomas [EMAIL PROTECTED] -Original Message- From: David Lewis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 16, 2000 3:36 PM To: Perl-Win32-Users Mailing List Subject: Ne

RE: Fw: Perl Vs Php

2000-05-16 Thread Thomas_M
> Hi > > >If you want a fair contrast, test PHP vs. Perl when Perl is in > > > some sort of similar environment. Perl and Apache with mod_perl, > > > or Perl and IIS with PerlEx, or Perl and FastCGI, or Perl and > > > VelociGen, or... And don't do something useless like > "Hello world", >

RE: ActivePerl-Users (was RE: creating wed mail account)

2000-05-09 Thread Thomas_M
e quality of this list would change. But I also wouldn't have a problem with a different solution (perhaps a separate list otherwise identical to this one) that would allow people that use Linux or Solaris boxes to discuss Perl issues. -- Mark Thomas [EMAIL PROTECTED] > - -Original Message-

RE: Assistance With Net::SMTP V2

2000-05-09 Thread Thomas_M
Scott K Purcell [mailto:[EMAIL PROTECTED]] wrote: > Sent: Tuesday, May 09, 2000 4:53 AM > To: Perl-Win32-Users Mailing List > Subject: Assistance With Net::SMTP V2 > > > Hello, > I am considering using the Net::SMTP module. > > I did the examples in the POD, and can send a email to > myself. E

RE: creating wed mail account

2000-05-09 Thread Thomas_M
> However, it's not "ActivePerl-Users" but "Perl-Win32-Users". This brings up a question: Perhaps it should now be ActivePerl-Users? This would serve to further emphasize the cross-platformness of ActivePerl, and besides, in 90% of the discussions here, the OS is irrelevant. A lot of people ask

RE: PHP and Perl

2000-05-03 Thread Thomas_M
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] wrote: > So, if you use PHP, you normally wont consider using Perl? Actually what I meant was the opposite: if you want to use Perl, you probably won't consider using PHP. Architectural things like the persistant interpreter, pre-compiled scripts, and

RE: PHP and Perl

2000-05-03 Thread Thomas_M
Ranga, PHP is both a language and a dynamic Web content assembly environment. They are meant to be used together. It's much like the relationship between Python and Zope. Or Perl and Mason (www.masonhq.com). I'm not saying that it can't be done, but if you plan on using Perl you may find it easi

RE: grep question

2000-05-03 Thread Thomas_M
Scott K Purcell [mailto:[EMAIL PROTECTED]] wrote: > @allfiles = grep !/[fish|apple]/, @allfiles; # does not work. > Does not give > an error, but leaves nothing in @allfiles. > > Is anyone out there familiar with grep enough to help me? Thanks You mean someone familiar with regular expression

RE: How to escape a "." ?

2000-04-27 Thread Thomas_M
> Paul Rogers wrote: > > Jimmy S. Lim wrote: > > > how do you escape a "." (dot)? i would like do a pattern > > > match w/ a "." within the pattern. > > > > just like the website: \. > > What website is that? Do you mean slashdot.org? That's > abbreviated "/.", > since it's not "backslashdot.o