Re: perl script as binary

2003-08-19 Thread Sven Bentlage
with the executable. Can you turn the app into a web app? You might have more luck with that. http://www.indigostar.com/perl2exe.htm -Original Message- From: Sven Bentlage [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 8:28 AM To: [EMAIL PROTECTED] Subject: perl script as binary

perl script as binary

2003-08-14 Thread Sven Bentlage
Hi everyone! I`m looking for a way to compile a perl script into an executable binary for a WIN2000 system (no(!) perl installed). Is there a way to get this working? Thanks for your help in advance Sven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

cronjob via perl

2002-12-12 Thread Sven Bentlage
My provider doesn`t allow any user cronjobs, but I have to perform a regular task (set back passwords ). So I just wrote a small script to the job for me, but I am not sure if it will need to much resources (and because of this would be killed by my provider) Does anyone know a better solution

MIME::Lite /SMTP-Proxy Problems

2002-12-09 Thread Sven Bentlage
Hi everyone, I am using MIME::LIte to send out several mails a month. Due to problems with several providers (i.e. not displaying HTML correct) I switched to text only. Now I received this error message (see below) from one of the people on the mailing list. Does anyone of you maybe know: -

Re: Handling =

2002-12-09 Thread Sven Bentlage
Hi John why don`t you use a small regex to replace the? Something like : if ($variable =~ m//) {$variable =~ s//-/g} should replace the ampersand with a -. (I am not quite sure if you have to write or \ ) Cheers, Sven (P.S.: I am definitely sure there are much faster, shorter and

DBI / loop

2002-11-14 Thread Sven Bentlage
Hi everyone! I have a small problem which should be very easy to solve, but right now I just do not understand where the mistake is: I`m using a small loop to fetch several hundred ids from a MySQL database, all of the ids are pushed into @id. After that the script fetches 1-3 email addresses

Re: DBI / loop

2002-11-14 Thread Sven Bentlage
I just replaced my actual server with SMTP_SERVER,. On Thursday, Nov 14, 2002, at 21:00 Europe/Berlin, Bob Showalter wrote: -Original Message- From: Sven Bentlage [mailto:root;svenbentlage.de] Sent: Thursday, November 14, 2002 2:43 PM To: [EMAIL PROTECTED] Subject: DBI / loop Hi

Re: Calculate PI

2002-11-03 Thread Sven Bentlage
an infinite series, there is almost alway a better way... Consider the million iterations above (and the error) against the builtin. HTH David -Original Message- From: Sven Bentlage [mailto:root;svenbentlage.de] Sent: Saturday, November 02, 2002 11:43 AM To: [EMAIL PROTECTED] Subject

HASH?

2002-10-06 Thread Sven Bentlage
Hi everyone, I`m trying to send out an email containing all details of a small database(around 1000 sets of data). Everybody who has entered an email address is supposed to receive only his data. The code I wrote (see below) seemed to work ok, but when testing I realized that everything is

Hotmail.com vs. MIME:Lite

2002-09-18 Thread Sven Bentlage
. -Original Message- From: Sven Bentlage [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 15, 2002 7:42 AM To: [EMAIL PROTECTED] Subject: SMTP/HTML/TEXT Hi everyone, I encountered another problem with my mailscript. Hotmail.com users and some people who use strange mail

Net::SMTP / HTML

2002-09-11 Thread Sven Bentlage
Hi everyone! I am using the Net::SMTP module to send some confirmation emails. Until now I sent just plain text emails, but now I'd like to produce a html mail. Both email clients I tested (mail.app / Outlook Express 6) only display the source code. Could anybody give me a hint, where to look

regex...does not match

2002-06-18 Thread Sven Bentlage
Hi guys, I'm not sure why the first regex (see below) does not grep the correct line. The 2nd one does. (but it greps the whole line and not only the part I want to have since the delimiter is \n) Would be nice if you could give me a hint what I'm doing wrong with the first regex: I want to

Re: Preference problem - Re: $FORM in Matt's wwwboard.pl

2002-06-09 Thread Sven Bentlage
Thanks, will take a look. I'm just trying to learn by reading this script Sven On Sunday, June 9, 2002, at 02:00 AM, drieux wrote: On Saturday, June 8, 2002, at 10:47 , Sven Bentlage wrote: I'm just looking at Matt's wwwboard.pl and try to figure out what the $FORM{somevaule} does

Re: Preference problem - Re: $FORM in Matt's wwwboard.pl

2002-06-09 Thread Sven Bentlage
ok, I took a look at the links you send me. Thanks for the tip, but I just wanted to know what this $FORM does. I am not planning to use his script... Regards, Sven On Sunday, June 9, 2002, at 02:00 AM, drieux wrote: On Saturday, June 8, 2002, at 10:47 , Sven Bentlage wrote: I'm just

$FORM in Matt's wwwboard.pl

2002-06-08 Thread Sven Bentlage
Hi guys, I'm just looking at Matt's wwwboard.pl and try to figure out what the $FORM{somevaule} does. It is not declared anywhere before usage.. and I'm quite lost... If anyone could tell me where to find any information about that, I'd be grateful Thanks for your help, Sven sub where

only getting last value from regex

2002-06-04 Thread Sven Bentlage
Hi using the code below I only get the last line from the file. Can anybody tell me what I'm doing wrong? (The empty lines do not change anything..) Thanks for your help Sven file: John;123 Jane;456 Ed;789 code: open(USER,$user_access_file) or die

RE: calculate dates / regex

2002-05-29 Thread Sven Bentlage
, 2002, at 09:25 , Sven Bentlage wrote: Hi ! I'm trying to get all the date values for the week (7days) ahead of a specified date. To get the current date I use : my ($d, $m, $y) = (localtime)[3,4,5

calculate dates

2002-05-28 Thread Sven Bentlage
Hi ! I'm trying to get all the date values for the week (7days) ahead of a specified date. To get the current date I use : my ($d, $m, $y) = (localtime)[3,4,5]; my $date = sprintf(%02d-%02d-%02d,

Re: calculate dates / regex

2002-05-28 Thread Sven Bentlage
, at 09:25 , Sven Bentlage wrote: Hi ! I'm trying to get all the date values for the week (7days) ahead of a specified date. To get the current date I use : my ($d, $m, $y) = (localtime)[3,4,5

Re: DBI/update

2002-05-23 Thread Sven Bentlage
sorry, didn't mention it. the assignment for the variables has been done above, in the main script. On Thursday, May 23, 2002, at 02:13 PM, Felix Geerinckx wrote: on Thu, 23 May 2002 11:08:22 GMT, [EMAIL PROTECTED] (Sven Bentlage) wrote: Hi everyone! I'm getting desperate. Can't find

Re: update query

2002-05-23 Thread Sven Bentlage
thx for the tip, but I don't have access to the error log (my ISP doesn't allow it) just found the problem... there was a typo some 75 lines above... sorry for bothering you all On Thursday, May 23, 2002, at 04:58 PM, Pablo A. Castrillo wrote: Sven: Have you checked your error log? I'm

convert date value into text value..

2002-05-22 Thread Sven Bentlage
Hi ! How can I convert a date value (I get via /bin/date) into a text value? Thanks for your help. Sven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

use variables in regex

2002-05-22 Thread Sven Bentlage
Hi I'l looking for a way to use a scalar in a regex. The snibblet below shows in about what it is supposed to do. if someone has a better idea how to compare the date value with the $date_today value I extract from the text file, I'd be really happy about any hints.. The snibblet doesn't

Re: use variables in regex||solved

2002-05-22 Thread Sven Bentlage
; } } On Wednesday, May 22, 2002, at 11:57 AM, Sven Bentlage wrote: Hi I'l looking for a way to use a scalar in a regex. The snibblet below shows in about what it is supposed to do

Re: use variables in regex||solved

2002-05-22 Thread Sven Bentlage
Hi Felix thanks for the tips. On Wednesday, May 22, 2002, at 01:20 PM, Felix Geerinckx wrote: You have a precedence problem here, since '||' has higher precedence than ','. You should either use open(FH, foo) || die; open FH, foo or die; didn't know that yet.

pass values to another scipt

2002-05-14 Thread Sven Bentlage
Hi! I am using one script to secure the members area and offer several search functions for am mysql database. another script offers the possibility to update data in this database. Botth scripts require the user to ennter name, lastname and password. Now I want to enable the user to get

Re: pass values to another scipt

2002-05-14 Thread Sven Bentlage
Ok, i found out how to pass a few arguments to the other script: a href=collectformdata.cgi?action=fetchf_name=$f_namef_surname=$f_surname Update/a The only problem I have left is that the variables are not passed on. Once I put names in there, it works just fine, but I do need

Re: CGI and frames

2002-05-14 Thread Sven Bentlage
understand, what exactly is not working about it again? :-) --- Sven Bentlage [EMAIL PROTECTED] wrote: Sorry, I chose the wrong words.. my script works similar to the way you described below. Depending on which fields are filled out and which button is pressed, a different subroutine

CGI and frames

2002-05-13 Thread Sven Bentlage
Hi ! Right now I'm using a cgi-script to create a few html pages. Somewhere I read the I also can create framesets plus the dependent html pages via a CGI script. Where can I find a manual on how to do that? Or can anybody tell me? Thanks for your help. Sven -- To unsubscribe, e-mail:

Re: CGI and frames

2002-05-13 Thread Sven Bentlage
, and have another to generate the frameset. Each script then outputs its own HTML as normal. If this doesn't address your issue, I think we'll need a little more detail. - John --- Sven Bentlage [EMAIL PROTECTED] wrote: Hi ! Right now I'm using a cgi-script to create a few html pages

Fwd: update mixes fields up??

2002-05-09 Thread Sven Bentlage
Hi below is a small sub I wrote. It works, but mixes up the updates for several fields. The update query should take every value and update the assigned column. But every time it happens, that after the columns are omitted or added so that the columns are not correctly updated. Help

return values to sub

2002-05-05 Thread Sven Bentlage
Hi everyone! I started learning perl about one month ago. After havin fun and even getting some scripts running, the fun stopped 3 days ago. :( Having found a problem I am not able to figure out myself, I'm not quite sure any more what to do. In my script (see below for excerpt) the user

Re: return values to sub

2002-05-05 Thread Sven Bentlage
cgi2 to register or cgi3 to log a member in...) I might be able to help out more, but what I developed so far might not be of any use to you (because of my lack of understanding). David -Original Message- From: Sven Bentlage [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 05, 2002 3:05

return values from subs

2002-05-04 Thread Sven Bentlage
Hi! I'm having serious trouble with my (first) cgi script. It's a login script for a member's area which retrieves the password from a database (mysql). While using several subs, I have not found a possibility to return the values extracted from the database to another sub it's always an