-
1
- #1
Hi
Feherke.
man perlop said:The terminating string must appear by itself (unquoted and with no surrounding whitespace) on the terminating line.
Perl:
[b]my[/b] [navy]$sql[/navy] [teal]=[/teal] [teal]<<[/teal]ENDSQL[teal];[/teal]
ENDSQL
[gray]# ^-- no leading space[/gray]
[gray]# or[/gray]
[gray]# v-- same amount of spaces here ...[/gray]
[b]my[/b] [navy]$sql[/navy] [teal]=[/teal] [teal]<<[/teal][green][i]' ENDSQL'[/i][/green][teal];[/teal]
ENDSQL
[gray]# ^-- ... and here[/gray]
Feherke.