Thread Frage zu der Historie der Methode <<"END" [...] END
(28 answers)
Opened by Wild.Card at 2017-05-06 14:21
q() ... man lernt doch nie aus. Danke.
Allerdings: Wenn ich's als Kommentar nutzen möchte, bricht er mit "Useless use of a constant" ab: Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 #!/usr/bin/perl use warnings; use strict; sub myfunc { q(This is a comment.); print "Hallo\n"; } Man muß es einer Variablen zuweisen. :( Oder eine Warnung ausschalten (welche wäre das?). |