Thread Hash einlesen (12 answers)
Opened by Gast at 2010-07-02 10:16

GwenDragon
 2010-07-02 11:24
#139298 #139298
User since
2005-01-17
14748 Artikel
Admin1
[Homepage]
user image
chomp entfernt nur die \n, nicht die \r.

Siehe:
U:\>perl -MData::Dump -e"$l=qq(\r\n);chomp($l);print Data::Dump::dump($l)"
"\r"
U:\>


Oder:
U:\>perl -MData::Dumper -e"$Data::Dumper::Useqq=1;$l=qq(\r\n);chomp($l);print Dumper($l)"
$VAR1 = "\r";

Last edited: 2010-07-02 11:28:20 +0200 (CEST)

View full thread Hash einlesen