Thread XML-Parser (15 answers)
Opened by Henri at 2015-04-01 00:25

GwenDragon
 2015-04-01 12:10
#180493 #180493
User since
2005-01-17
14790 Artikel
Admin1
[Homepage]
user image
So schauts aus bei print und {}.
http://perldoc.perl.org/functions/print.html
If you're storing handles in an array or hash, or in general whenever you're using any expression more complex than a bareword handle or a plain, unsubscripted scalar variable to retrieve it, you will have to use a block returning the filehandle value instead, in which case the LIST may not be omitted:
print { $files[$i] } "stuff\n";
print { $OK ? STDOUT : STDERR } "stuff\n";


Der Fragende ist eben vorsichtig bei der Programmierung. Ist nicht falsch, so.

View full thread XML-Parser