1.19: - you can escape "#" characters using a backslash: "\#"

which will now no more treated as a comment.
         - comments inside here-documents will now remain in the
           here-doc value.


git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@7 be1acefe-a474-0410-9a34-9b3221f2030f
This commit is contained in:
Thomas von Dein
2009-10-10 16:08:33 +00:00
parent 016cd6f07a
commit c395e5d596
6 changed files with 41 additions and 33 deletions

View File

@@ -1,11 +1,14 @@
# Nested block test
<cops>
<officer randall>
name stein
age 25
color \#000000
</officer>
<officer gordon>
name bird
age 31
color \#ffffff
</officer>
</cops>
</cops>

View File

@@ -3,4 +3,5 @@ message <<EOF
yes. we are not here. you
can reach us somewhere in
outerspace.
# and this line will remain inside the here-doc!
EOF

View File

@@ -1,5 +1,5 @@
# Multiline option test
command = ssh -f -g orphues.0x49.org \
command = ssh -f -g orpheus.0x49.org \
-l azrael -L:34777samir.okir.da.ru:22 \
-L:31773:shane.sol1.rocket.de:22 \
'exec sleep 99999990'
'exec sleep 99999990'

View File

@@ -16,7 +16,7 @@ message <<EOF
can reach us somewhere in
outerspace.
EOF
command = ssh -f -g orphues.0x49.org \
command = ssh -f -g orpheus.0x49.org \
-l azrael -L:34777samir.okir.da.ru:22 \
-L:31773:shane.sol1.rocket.de:22 \
'exec sleep 99999990'