Problem with character sets?

2003-01-02 Thread Anette Seiler
variable in Linux which gives the character set used? I ask, because I seem to have this problem all over. Nedit or Vim cannot display diacritics, even the console has problems. Kind regards Anette Seiler -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: automatically downloading files into a certain directory

2002-12-13 Thread Anette Seiler
to a library system. Thanks again Anette Seiler At 21:42 12.12.02, Peter Kappus wrote: Yup...I'm afraid this isn't possible within a browser (for security reasons) but you could easily build a simple perl client that would (using LWP) make a request to a CGI and save the result locally. The problem

Re: scripts run by nobody

2002-10-15 Thread Anette Seiler
Hi, I had a similar problem the other day and got help from this list. When you run your script through the browser, it is not executed by you (your username), but by the user of the webserver. Apache normally uses the username nobody. You can check this by looking into httpd.conf. The

CGI: command line works, browser not

2002-09-17 Thread Anette Seiler
Dear All, I have a cgi-script that is supposed to delete some files in a directory. I am using File::Path::rmtree to do this. The files are chmoded 755. Whenever I run this script from the command line, it does exactly as it is supposed to do. Whenever I run this script from within a

Re: CGI: command line works, browser not

2002-09-17 Thread Anette Seiler
Dear David and Sudarshan, thank you very much for your answers. I now know where to look. Kind regards Anette -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How long can $_ be?

2002-03-13 Thread Anette Seiler
Anette Seiler HBZ-NRW Geschäftsbereich Digitale Bibliothek Tel.: +49-221-40075-196 Fax: +49-221-40075-190 www.hbz-nrw.de email: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FW: How long can $_ be?

2002-03-13 Thread Anette Seiler
Hi Smiddy, you wrote: This got me wondering. Is the behavior you see caused by limitations for $_, or by limitations of the print function? You might try: print strlen( $_ ), \n; My Perl doesn't know what strlen is. Is it part of a module? I don't think, it is a limitation of the print

How long can $_ be?

2002-03-12 Thread Anette Seiler
encounter this problem on Solaris machines running Perl 5.005. On Windows with Perl 5.6.1. no such problem was encountered. What could cause the problem? Kind regards Anette Mit freundlichen Grüßen Anette Seiler HBZ-NRW Geschäftsbereich Digitale Bibliothek Tel.: +49-221-40075-196 Fax: +49-221

Re: over-writing a file

2002-03-08 Thread Anette Seiler
Hi Ken, I encountered exactly the same problem today: How to read a file AND change something in it? I was not able to do both of them at the same time. I am sure there is a more correct way to do it, but my solution (in the spirit of TIMTOWTDI) was to write to a temporary file and then

Regular expression is sometimes found, at other times not. Why?

2002-03-06 Thread Anette Seiler
Hello, I am struggling with a regular expression. I am using the regex- program given in Learning Perl, 3rd expression, but the results are strange. I want to match the word Stand in the following line: Li!--: Stand: 2000-Oct-07, Eintrag in Digibib: 2000-Nov-16 :-- !--... DATENBANKEN

$|

2002-02-15 Thread Anette Seiler
Hi, I am a newbie in Perl. My boss (who isn't a newbie) has given me one of his programs. I am now trying to understand this program. Right in the beginning it says: $| = 1; # flush output after each write or print What does it mean? Kind regards Anette Seiler -- To unsubscribe, e-mail