Thread map und array
(6 answers)
Opened by bianca at 2010-07-05 19:04 2010-07-05T17:04:20 bianca Ohne grep: Code (perl): (dl
)
print "Und:\n" . join ("\n",map {$_||()} @inhalt) . "\n"; || wirkt auch bei 0, '' etc., wenn du wirklich nur undef ausfiltern willst, dann nimm // (und ein hinreichend neues perl). |