[BASH, PERL] Multiline string
CS/Shell/Perl/Python 2011. 4. 24. 15:50참고:
http://serverfault.com/questions/72476/clean-way-to-write-complex-multi-line-string-to-a-variable
BASH
PERL
http://serverfault.com/questions/72476/clean-way-to-write-complex-multi-line-string-to-a-variable
BASH
cat <<EOF
This is
Multiline
String.
EOF
read -d '' VAL<<EOF
This is
Multiline
String.
EOF
PERL
my $VALUE =<<ENDVALUE;
This is
Multiline
String.
ENDVALUE
my $VALUE = "This is
Multiline
String.
";