Re: perl script as binary

2003-08-19 Thread Sven Bentlage
ver a couple of .dll's 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] Sub

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 PR

Re: slash question

2003-06-25 Thread Sven Bentlage
$dir="ITC\\home\\techs"; ...should work On Wednesday, June 25, 2003, at 04:55 PM, Susan Aurand wrote: My mistake. I actually want backslashes. $dir="\\ITC\home\techs"; How do I do that. Thanks - Susan Sven Bentlage wrote: did you try $dir="\/\/ITC/ho

Re: connectivity b/w a form in html and database using perl

2003-06-02 Thread Sven Bentlage
Hi Annie! This code ain`t pretty, but it works (BTW, has been made possible only by the help of this mailing list, thanks again to everyone..) Cheers, Sven if ($action eq ''){ apply(); } elsif ($action eq "apply"){ my $count = find(); if ($count == 0) { error(); exit; } else

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

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 an

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: - wh

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

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 f

Read Receipt (.ReadReceiptRequested)

2002-11-12 Thread Sven Bentlage
/pipermail/remedy/1999-November/000231.html]. Since most recipients don`t use Outlook, that`s not a possibility for me. If anyone could give me a hint or tell me any kind of manual/tutorial where I might find a solution I`d be really grateful. Best regards, Sven Bentlage -- To unsubscribe, e

Re: Calculate PI

2002-11-03 Thread Sven Bentlage
\n"; Unless you -must- use 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:

Calculate PI

2002-11-02 Thread Sven Bentlage
Hi everyone! I am trying to write a program calculating pi. The formula I would like to use is pi = 4x( (1/1) - (1/3) + (1/5) - (1/7) + (1/9) - (1/11) ) or $pi = 4x ( (1/$y) - ) My problem is how to raise the $y by 2 and how to switch "+" and "-" while calculating the formula. For

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 m

Hotmail.com vs. MIME:Lite

2002-09-18 Thread Sven Bentlage
the last message... > > Scot R. > > > > > -----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 wi

Re: Net::SMTP / HTML

2002-09-11 Thread Sven Bentlage
Ok, managed to do it myself, using MIME::Lite. :) On Donnerstag, September 12, 2002, at 04:18 Uhr, Sven Bentlage wrote: > 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 "prod

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

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: 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 w

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'

Re: update query

2002-05-23 Thread Sven Bentlage
am ) { print" $name ---"; foreach $value ( $q->param( $name ) ) { print" $value"; }

DBI/update

2002-05-23 Thread Sven Bentlage
Hi everyone! I'm getting desperate. Can't find the error in the snibblet of code below...to me everything seems to be ok (except bad style etc), but the update of the mysql database does not work altought the sql statement is should be definitely ok: sub do_data { my $dbc = DBI->connect( $ds

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, " open FH, " didn't know that yet. fixed it. > (Why are

Re: use variables in regex||solved

2002-05-22 Thread Sven Bentlage
print "date_today: $date_today __ $date\n" ; } } On Wednesday, May 22, 2002, at 11:57 AM, Sven Bentlage wrote: > Hi > I'l looking for a way to use a scal

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 work,

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]

Re: CGI and frames

2002-05-14 Thread Sven Bentlage
separate scripts, called once per page, that > just happen to be stored in the same file. Whether you > store it in one script or separate is immaterial, > IMHO. > > So, now that we understand, what exactly is not > working about it again? :-) > > --- Sven Bentlage <[EM

Re: CGI and frames

2002-05-14 Thread Sven Bentlage
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 is called, creating the page. On Wednesday, May 15, 2002, at 12:01 AM, David Gray wrote: >> I'm using one CGI s

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: Update 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 those variables to work. if I would get any tips on this I'd really appre

pass values to another scipt

2002-05-13 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 strai

Re: CGI and frames

2002-05-13 Thread Sven Bentlage
t > for its content, 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]> w

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: [EM

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. >

Re: return values to sub

2002-05-05 Thread Sven Bentlage
e: > > use CGI::Carp qw( fatalsToBrowser ); > > in your cgi scripts (it saves me alot of trips to the Apache error log) > If you can explain the dataflow better (even cgi1 calls cgi2 to > register or > cgi3 to log a member in...) I might be able to help out more, but what I

return values to sub

2002-05-04 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 enter

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 em