Retourner au contenu associé (entrée de forum : Can't find string terminator "EOF")
Posté par David Demelier (site web personnel) le 14 mars 2022 à 08:49. En réponse au message Can't find string terminator "EOF". Évalué à 6. Dernière modification le 14 mars 2022 à 08:50.
Comme en shell, tu peux simplement mettre un tiret avant EOF et alors tu peux indenter ce dernier.
my $help = <<-EOF; ... ... EOF
Perl suit visiblement la même syntaxe que le shell (sauf le ; obligatoire)
AI is a mental disorder
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# Rajoute un tiret
Posté par David Demelier (site web personnel) . En réponse au message Can't find string terminator "EOF". Évalué à 6. Dernière modification le 14 mars 2022 à 08:50.
Comme en shell, tu peux simplement mettre un tiret avant EOF et alors tu peux indenter ce dernier.
Perl suit visiblement la même syntaxe que le shell (sauf le ; obligatoire)
AI is a mental disorder