Thread @h{qw'a b c'} better written as $h{qw'a b c'}
(2 answers)
Opened by Gast at 2007-11-22 18:13
versuch mal qw/ a b c /
die anführungszeichen sind wohl das problem. die finde ich sowieso etwas merkwürdig als delimiter für qw(), da ja '' für einen string steht. trotzdem ist die warnung hier wohl ein bug. Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: ![]() ![]() |