Thread: Long String
View Single Post
  #1 (permalink)  
Old 08-06-2008, 06:35 AM
Georg Georg is offline
Knows the basics
 
Join Date: Jan 2008
Posts: 54
Default Long String

I need long strings to put it in a variable p.E.
Kopf = "<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<Placemark>
<name>CDATA example</name>
<description>"

that doesn't work, I know. Is there a chance to do it like in Perl

$kopf = qq~
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<Placemark>
<name>CDATA example</name>
<description>
~;

Thanks for help
Reply With Quote