Re: problems with require, subs and databasehandles

2003-11-04 Thread peter grotz
Hi, first, thanks fro your answer! Wiggins d Anconia schrieb: [...] Your 'dbh' is lexically scoped, which means it goes out of view at the end of the file, therefore it will not be available for use in your subroutine. Using either 'our' or 'use vars' will fix the symptom, see below for more a

problems with require, subs and databasehandles

2003-11-04 Thread peter grotz
Hello, I have a main prog and some subs in different files. At runtime I use "require ´pathtofile/´;" to include these files to the main prog as subs. In the main prog I´m using the modul HandySQL3 with a databasehandle let´s say /snip/ ##main prog ## require ´./sub.pl´; use HandySQL3; my $dbh

perl @ mysql

2003-09-17 Thread peter grotz
Hi, I wanna use a mysql-database for our systemuser-management. Adding and showing a list of users is no problem but now my question: How can I handle the appearing mysql-errorcode instead of the "die"-statement when I´m selecting or deleting a nonexisting entry in my database? Thanks in advanc

RE: Password Question

2002-09-26 Thread peter grotz
Look at CPAN, there´s the mod Authen:PAM. using this you can do almost everything belonging to Authentication. But I´m using Linux, don´t know if it works with Solaris.. peter peter grotz rehberger architekten schertlinstr 23 86 159 augsburg tel +049 821 25980-29 fax +049 821 25980-20

perl and ldap

2002-08-01 Thread peter grotz
hi list, I want to use ldap as a kind of database for our drawnings. Are there any tutorials how to use perl with the perl-ldap-modul ? Thanks for your help! -- peter grotz rehberger architekten schertlinstr 23 86 159 augsburg tel 0821 25980-29 fax 0821 25980-20 -- To unsubscribe, e

Re: perllocal.pod

2002-04-08 Thread peter grotz
hi Rob, I´ve got the same problem. All perl-moduls installed from rpm (here yast from my SuSE-distrib does the rpm-install) are not in the perllocal.pod. Now I´m using for installations of my cpan loaded tar-moduls webmin (made by Jamie Cameron look at www.webmin.com) and this works great! Pete

RE: perl6

2002-04-04 Thread peter grotz
> variable sigils ($@%) are now constant (ie you say >@array[2] instead of $array[2]), the concatenation operator is changing >from '.' to ' - ' (note the whitespace), the member of operator '->' is >changing to '.', and various other small things. what at hell should these changes help us? I´m

problem with getting the noncrypted password from crypted

2002-02-19 Thread peter grotz
hi list, I´m using the following scripts to manage my passwords. I can crypt my new passwords to change the old one, but how can I get the clear pass from my crypted again?? Thanks for your hints!! Peter # test if passwords are equal $salt = substr($existuspassword, 0, 2); $incrypt = crypt($u

Re: shadow file

2001-11-22 Thread peter grotz
yeah, you´re right maxim. I solved this prob with two separate progs: the cgi gives the user-data to a deamon (running as root) using a persistent hash. hope this helps -- peter grotz rehberger architekten schertlinstr 23 86 159 augsburg tel 0821 25980-29 fax 0821 25980-20 -- To

problem with linux-sendmail

2001-09-21 Thread peter grotz
it´s send away to my ISP. Must I change anything in sendmail (e.g. a smtp-backdoor-port) and use a daemon? How will the daemon wake up on new mail on the smtp-backdoor-port? questions, questionsplease help!! CC your mail to [EMAIL PROTECTED], too. THANKS!! -- peter grotz rehberger

creating a daemon

2001-09-03 Thread peter grotz
a small script. excuse me for this newbie-questions thanks -- peter grotz rehberger architekten schertlinstr 23 86 159 augsburg tel 0821 25980-29 fax 0821 25980-20 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]