use Mosche;
Bei folgendem Versuch spuckt Perl errors:
my @array = <<'EOF' a
b
c
d
EOF
Wenn du es richtig machst, nämlich so -
my @array = (<<'EOF');
a
b
c
d
EOF
- wird der Array mit einem Element gesetzt, weil das here-document einen String zurückliefert, kein Array. Du willst wohl:
my @array = qw( a
b
c
d
);
verwenden.
use Tschoe qw(Matti);
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.