Shawn H Corey wrote:

Hi,
>>
>> 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.
>>
>> Regards,
>> Ruprecht Helms
>>
> 
> #!/usr/bin/perl
> 
> use strict;
> use warnings;
> 
> use CGI;
> print CGI->a( {-href=>'http://www.example.com/'}, 'Linktext' ), "\n";
> 

actually I have written the following line:

print STATISTIKDATA
CGI->a({href=>'http://www.b-net-c.de/adressbuch/$Vorname_$Name_$id.html'},'Link
zum Profil');

but in the Textfile I get the following output

...<a
href="http://www.example.com/adressbuch/$Vorname_$Name_$id.html";>Link
zum Profil</a>

How have I to modify the line that the values of the variables will be
written into the URL-Statement like this:

<a
href="http://www.example.com/adressbuch/Max_Mustermann_4711.html";>Link
zum Profil</a>



-- 
-----------------------------------------------
Ruprecht Helms IT-Service & Softwareentwicklung
       allow your worktools be individual

Web: http://www.rheyn.de

Tel.: +49 7621 169916
Fax: +49 7621 422170

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to