|< 1 2 >| | 12 Einträge, 2 Seiten |
Possible attempt to put comments in qw() list at V:\privat\perl\ged\ged.pl line 3643.
1
2
3
4
5
my @colors = (qw/#000000 #AA0000 #00AA00 #0000AA
#444444 #FF0000 #00FF00 #0000FF
#888888 #FFFF00 #00FFFF #FF00FF
#CCCCCC #FFAA00 #00BBBB #880088
#FFFFFF #AA8866 #008888 #660066/);
my @colors = map { "#$_" } (qw/000000 AA0000 00AA00 0000AA ... /);
1
2
3
4
5
my @colors = (qw/\#000000 \#AA0000 \#00AA00 \#0000AA
\#444444 \#FF0000 \#00FF00 \#0000FF
\#888888 \#FFFF00 \#00FFFF \#FF00FF
\#CCCCCC \#FFAA00 \#00BBBB \#880088
\#FFFFFF \#AA8866 \#008888 \#660066/);
[E|B,31.12.2004, 17:07]Ich kann den Fehler ehrlich gesagt nicht nachvollziehen (v. 5.8.4).
QuoteWie wäre es, wenn du es in Hochkommas setzt?
my @colors = ('#000000', '#AA0000', '#00AA00', ...);
1
2
3
4
5
my @colors;
{
no warnings 'qw';
@colors = qw/#000000 #AA0000 #00AA00 #0000AA .../;
}
1
2
3
4
5
my @colors = map { "#$_" } (qw/000000 AA0000 00AA00 0000AA
444444 FF0000 00FF00 0000FF
888888 FFFF00 00FFFF FF00FF
CCCCCC FFAA00 00BBBB 880088
FFFFFF AA8866 008888 660066/);
1
2
3
my @colors = map { "#$_" }
qw/000000 AA0000 00AA00 0000AA 444444 FF0000 00FF00 0000FF 888888 FFFF00
00FFFF FF00FF CCCCCC FFAA00 00BBBB 880088 FFFFFF AA8866 008888 660066/;
|< 1 2 >| | 12 Einträge, 2 Seiten |