AW: Url written in txtfile

2009-10-05 Thread Thomas Bätzler
Hi, Ruprecht Helms rhe...@rheynmail.de asked: actually I have written the following line: Currently. actually is actually a false friend. print STATISTIKDATA CGI-a({href='http://www.b-net- c.de/adressbuch/$Vorname_$Name_$id.html'},'Link zum Profil'); You are using the wrong quote marks.

Re: AW: Url written in txtfile

2009-10-05 Thread Uri Guttman
TB == Thomas Bätzler t.baetz...@bringe.com writes: TB That'll raise the next problem, though: _ is a valid character for TB a variable name, so the Perl interpreter will try to access the TB variable $Vorname_ which probably isn't what you wanted. In such a TB case, use curly braces to

Re: AW: Url written in txtfile

2009-10-05 Thread Ruprecht Helms
Uri Guttman wrote: TB == Thomas Bätzler t.baetz...@bringe.com writes: TB That'll raise the next problem, though: _ is a valid character for TB a variable name, so the Perl interpreter will try to access the TB variable $Vorname_ which probably isn't what you wanted. In such a TB

AW: Url written in txtfile

2009-10-02 Thread Thomas Bätzler
Ruprecht Helms rhe...@rheynmail.de asked: how have I to write the printstatement to write a URL like http://www.example.com within the htmltag (a href=http://www.example.com;Linktext/a) into a textfile. Hm, for example #!/usr/bin/perl -w use strict; my $file = '/some/path.txt'; my $text =