Perl, Apache & undefined subroutine

2002-03-12 Thread Tim Doty
e machine to tell what the various versions are. I would really like to not have to reload a page fifty times just to get the script to run correctly; does anyone have any ideas? TIA, Tim Doty -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: parsing a domain name out of an email address

2002-03-15 Thread Tim Doty
for starters the regex is invalid. the first closing parens comes too soon. try: if ($EmailAddress =~ (/^\w+\@aol\.com$/i)){ tim > -Original Message- > From: Eric Peers [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 15, 2002 1:45 PM > To: [EMAIL PROTECTED] > Subject: parsing a do

RE: How do I config to get a Perl script to execute?

2002-03-21 Thread Tim Doty
In essence, you instruct perl to print the contents of the page. There are different ways of actually doing this, but two that come to mind are: 1) print the entire html document from perl. The cgi script prints the contents header as well as the regular html file, e.g., print "Content-type: text

RE: Write permissions and other rights

2002-04-23 Thread Tim Doty
t read a posting faq for this list recently. And I don't tend to get all medieval about minor variations. OTOH, if it were clearly off topic... Just my take. Tim Doty PS. Hope that was straight forward english, even if I do tend to be careful about delineating it as my opinion. -- To unsu

RE: pattern matching for serial number

2002-04-26 Thread Tim Doty
well, the second slash should follow immediately after the bracket (in present case it adds another character to the reg-ex. If you can cut & paste the code segment it would avoid typographical errors. When I use the following it performs as expected w/o syntax error. #!/usr/bin/perl $serial = "